package com.ld.igds.models; import com.bstek.dorado.annotation.PropertyDef; import lombok.Data; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; import java.util.Date; /** * @Desc: 倒仓功能,2023年5月26日 根据新国粮规更新优化 * @author: Andy * @update-time: 2023/5/26 */ @Data @Entity @Table(name = "D_INOUT_STOCK_CHANGE") public class InoutStockChange { @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 = 2) @PropertyDef(label = "倒仓类型", description = "0:倒仓 1:移库") private String type; @Column(name = "PLAN_CODE_", length = 40) @PropertyDef(label = "倒仓计划文件编号", description = "倒仓计划文件编号") private String planCode; @Column(name = "NOTICE_ID_", length = 40) @PropertyDef(label = "通知单号", description = "通知单号") private String noticeId; @Column(name = "FOOD_VARIETY_", length = 10) @PropertyDef(label = "粮食品种") private String foodVariety; @Column(name = "DEPOT_ID_IN", length = 50) @PropertyDef(label = "倒入仓库") private String depotIdIn; @Column(name = "DEPOT_ID_OUT", length = 50) @PropertyDef(label = "倒出仓库") private String depotIdOut; @Column(name = "CHANGE_DATE_") @PropertyDef(label = "倒仓日期") private Date changeDate; @Column(name = "NUMBER_") @PropertyDef(label = "倒仓数量") private Double number = 0.0; @Column(name = "UPDATE_TIME_") @PropertyDef(label = "更新时间") private Date updateTime; @Column(name = "UPDATE_USER_", length = 50) @PropertyDef(label = "更新人") private String updateUser; }