package com.fzzy.async.fzzy61.entity; import com.bstek.dorado.annotation.PropertyDef; 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 Fz61InoutPlan implements Serializable {
    public static String SORT_PROP = "year";
    @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;
    @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;
    /**
     * --------附件--------
     **/
    @Column(name = "FILE_ID_", length = 30)
    @PropertyDef(label = "附件id")
    private String fileId;
    @Column(name = "FILE_NAME_", length = 50)
    @PropertyDef(label = "附件名称")
    private String fileName;
    @Column(name = "FILE_TIME_")
    @PropertyDef(label = "附件上传时间")
    private Date fileTime;
    @Transient
    private List