package com.bbd.bpm.domain;

import com.bbd.bpm.base.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Data
@Table(name = "bpm_company")
public class BpmCompany extends BaseEntity{

    //组织名称
    @Column(name = "name")
    private String name;
    //组织简称(英)
    @Column(name = "abbreviation_name")
    private String abbreviationName;
    //组织编码id
    @Column(name = "code")
    private String code;
    //组织关系
    @Column(name = "organization_relation")
    private String organizationRelation;
    //状态(0.正常 1.异常 2.删除）
    @Column(name = "status")
    private Integer status;

    //上级id
    @Column(name = "parent_id")
    private Integer pId;



}
