|
|
|
@ -2,6 +2,7 @@ package cn.estsh.i3plus.pojo.wms.bean;
|
|
|
|
|
|
|
|
|
|
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
|
|
|
|
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
|
|
|
|
import cn.estsh.i3plus.pojo.base.enumutil.CommonEnumUtil;
|
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
|
|
import io.swagger.annotations.ApiParam;
|
|
|
|
|
import lombok.Data;
|
|
|
|
@ -33,7 +34,7 @@ public class WmsStockInitialize extends BaseBean {
|
|
|
|
|
|
|
|
|
|
@Column(name = "WH_NO")
|
|
|
|
|
@ApiParam(value = "仓库代码")
|
|
|
|
|
@AnnoOutputColumn
|
|
|
|
|
@AnnoOutputColumn(required = false)
|
|
|
|
|
private String whNo;
|
|
|
|
|
|
|
|
|
|
@Column(name = "ZONE_NO")
|
|
|
|
@ -53,23 +54,23 @@ public class WmsStockInitialize extends BaseBean {
|
|
|
|
|
|
|
|
|
|
@Column(name = "PART_NAME_RDD")
|
|
|
|
|
@ApiParam(value = "物料名称")
|
|
|
|
|
@AnnoOutputColumn
|
|
|
|
|
@AnnoOutputColumn(required = false)
|
|
|
|
|
private String partNameRdd;
|
|
|
|
|
|
|
|
|
|
@Column(name = "UNIT")
|
|
|
|
|
@ApiParam(value = "单位")
|
|
|
|
|
@AnnoOutputColumn
|
|
|
|
|
@AnnoOutputColumn(required = false)
|
|
|
|
|
private String unit;
|
|
|
|
|
|
|
|
|
|
@Column(name = "QTY", columnDefinition = "decimal(18,8)", nullable = false)
|
|
|
|
|
@ApiParam(value = "可用数量", example = "0")
|
|
|
|
|
@ColumnDefault("0")
|
|
|
|
|
@AnnoOutputColumn
|
|
|
|
|
@AnnoOutputColumn(required = false)
|
|
|
|
|
private Double qty = 0d;
|
|
|
|
|
|
|
|
|
|
@Column(name = "SNP", columnDefinition = "decimal(18,8)", nullable = false)
|
|
|
|
|
@ApiParam(value = "标准包装", example = "1")
|
|
|
|
|
@AnnoOutputColumn
|
|
|
|
|
@AnnoOutputColumn(required = false)
|
|
|
|
|
private Double snp;
|
|
|
|
|
|
|
|
|
|
@Column(name = "STATUS")
|
|
|
|
@ -80,4 +81,36 @@ public class WmsStockInitialize extends BaseBean {
|
|
|
|
|
@AnnoOutputColumn
|
|
|
|
|
private String currentOrganizeCode;
|
|
|
|
|
|
|
|
|
|
@Column(name = "SN")
|
|
|
|
|
@ApiParam(value = "工装条码")
|
|
|
|
|
@AnnoOutputColumn(required = false)
|
|
|
|
|
private String sn;
|
|
|
|
|
|
|
|
|
|
@Column(name = "QC_STATUS")
|
|
|
|
|
@ApiParam(value = "质检状态", example = "0")
|
|
|
|
|
@ColumnDefault("10")
|
|
|
|
|
@AnnoOutputColumn(refClass = CommonEnumUtil.STOCK_SN_QC_STATUS.class, refForeignKey = "value", value = "description", required = false)
|
|
|
|
|
private Integer qcStatus;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 条码状态:1=创建,10=质检中,20=待入库,30=入库,40=配料,50=出库,60=报废,70=在途
|
|
|
|
|
*/
|
|
|
|
|
@Column(name = "SN_STATUS")
|
|
|
|
|
@ApiParam(value = "条码状态", example = "0")
|
|
|
|
|
@ColumnDefault("30")
|
|
|
|
|
@AnnoOutputColumn(refClass = CommonEnumUtil.STOCK_SN_STATUS.class, refForeignKey = "value", value = "description", required = false)
|
|
|
|
|
private Integer snStatus;
|
|
|
|
|
|
|
|
|
|
@Column(name = "USE_COUNT", nullable = true)
|
|
|
|
|
@ApiParam(value = "领用次数", example = "0")
|
|
|
|
|
@ColumnDefault("0")
|
|
|
|
|
@AnnoOutputColumn(required = false)
|
|
|
|
|
private Integer useCount;
|
|
|
|
|
|
|
|
|
|
@Column(name = "SEQ_NO", nullable = true)
|
|
|
|
|
@ApiParam(value = "序号", example = "0")
|
|
|
|
|
@ColumnDefault("0")
|
|
|
|
|
@AnnoOutputColumn(required = false)
|
|
|
|
|
private Integer seqNo;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|