package com.changhong.epc.bean.tenant.system.budget; import com.changhong.epc.constter.base.BaseBean; import lombok.Data; import lombok.EqualsAndHashCode; import javax.persistence.Column; import javax.persistence.Table; import javax.persistence.Transient; import java.io.Serializable; /** * 预算对应实体类 * @author liush * */ @Table(name="epc_parent_budget_org_{rule}") @Data @EqualsAndHashCode(callSuper=true) public class BudgetOrg extends BaseBean implements Serializable { private static final long serialVersionUID = 1L; /** * 费用类型nodeCode */ @Column(name="c_id") private Integer cId; /** * 部门code */ @Column(name="org_code") private String orgCode; /** * 父部门(或设置预算部门)code */ @Column(name="parent_org_code") private String parentOrgCode; /** * 设置批次(使用uuid生成) */ @Column(name="group_id") private String groupId; /** * 判断是否需要删除后更新 * true为需要 false为不需要 * */ @Transient private Boolean flag; }