package com.ld.igds.models; import com.bstek.dorado.annotation.PropertyDef; import com.ld.igds.inout.InoutConstant; import lombok.Data; import javax.persistence.*; import java.io.Serializable; import java.util.Date; import java.util.List; /** * 计划管理-主表 *

* 包括:收购计划,销售计划,轮换记录,计划执行 * * @author: andy.jia * @description: 版本4.0字段已审 * @version: * @data:2020年5月27日 */ @Data @Entity @Table(name = "D_INOUT_PLAN") public class InoutPlan implements Serializable { private static final long serialVersionUID = 1L; @Id @Column(name = "ID_", length = 40) @PropertyDef(label = "计划编码") private String id; @Column(name = "COMPANY_ID_", length = 10) @PropertyDef(label = "组织编码") private String companyId; @Column(name = "DEPT_ID_", length = 40) @PropertyDef(label = "所属库区") private String deptId; @Column(name = "TYPE_", length = 10) @PropertyDef(label = "计划类型") private String type = InoutConstant.PLAN_TYPE_01; @Column(name = "NAME_", length = 50) @PropertyDef(label = "计划名称") private String name; @Column(name = "REFERENCE_NUMBER_", length = 40) @PropertyDef(label = "计划文号") private String referenceNumber; @Column(name = "YEAR_", length = 10) @PropertyDef(label = "年份") private String year; @Column(name = "BEGIN_TIME_") @PropertyDef(label = "开始时间") private Date beginTime; @Column(name = "END_TIME_") @PropertyDef(label = "截止时间") private Date endTime; @PropertyDef(label = "计划下达单位") @Column(name = "jhxddw", length = 18) private String jhxddw; @PropertyDef(label = "计划下达时间") @Column(name = "jhxdsj") private Date jhxdsj; @Column(name = "CREATE_USER_", length = 30) @PropertyDef(label = "创建人") private String createUser; @Column(name = "CREATE_TIME_") @PropertyDef(label = "创建时间") private Date createTime; @Column(name = "UPDATE_TIME_") @PropertyDef(label = "数据更新时间") private Date updateTime; @Column(name = "REMARK_", length = 250) @PropertyDef(label = "备注") private String remark; @Transient private List details; }