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 = 32)
|
@PropertyDef(label = "倒仓单号", description = "由倒仓日期(yyyyMMdd)+4位顺序号组成")
|
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 = "粮食品种", description = "代码不足7位需在末位补0")
|
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 = "倒仓日期", description = "yyyy-MM-dd")
|
private Date changeDate;
|
|
@Column(name = "NUMBER_")
|
@PropertyDef(label = "倒仓数量", description = "单位:公斤")
|
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;
|
|
@Column(name = "bzw", length = 1)
|
@PropertyDef(label = "包装物", description = "1:麻袋 2:编织袋 3:散装 9:其他")
|
private String bzw;
|
|
@Column(name = "bzbjs")
|
@PropertyDef(label = "标准包件数", description = "单位:件")
|
private Integer bzbjs = 0;
|
|
@Column(name = "zxzydw", length = 256)
|
@PropertyDef(label = "装卸作业单位", description = "装卸作业的人员姓名或单位名称,用半角逗号分隔")
|
private String zxzydw;
|
|
}
|