|
|
|
@ -30,125 +30,130 @@ import javax.persistence.*;
|
|
|
|
|
})
|
|
|
|
|
@Api("PO订单明细信息")
|
|
|
|
|
public class WmsPOMasterDetails extends BaseBean {
|
|
|
|
|
|
|
|
|
|
private static final long serialVersionUID = -677572691809622129L;
|
|
|
|
|
|
|
|
|
|
@Column(name = "PART_NO")
|
|
|
|
|
@ApiParam("物料编码")
|
|
|
|
|
public String partNo;
|
|
|
|
|
private String partNo;
|
|
|
|
|
|
|
|
|
|
@Column(name = "BOX_QTY" )
|
|
|
|
|
@Column(name = "BOX_QTY")
|
|
|
|
|
@ColumnDefault("0")
|
|
|
|
|
@ApiParam(value ="箱数", example = "0")
|
|
|
|
|
public Integer boxQty;
|
|
|
|
|
@ApiParam(value = "箱数", example = "0")
|
|
|
|
|
private Integer boxQty;
|
|
|
|
|
|
|
|
|
|
@Column(name = "PART_NAME_RDD")
|
|
|
|
|
@ApiParam("物料名称")
|
|
|
|
|
public String partNameRdd;
|
|
|
|
|
private String partNameRdd;
|
|
|
|
|
|
|
|
|
|
@Column(name = "ITEM")
|
|
|
|
|
@ApiParam("行号")
|
|
|
|
|
public Integer item;
|
|
|
|
|
private Integer item;
|
|
|
|
|
|
|
|
|
|
@Column(name = "QTY")
|
|
|
|
|
@ColumnDefault("0")
|
|
|
|
|
@ApiParam(value = "需求数量", example = "0")
|
|
|
|
|
public Double qty;
|
|
|
|
|
private Double qty;
|
|
|
|
|
|
|
|
|
|
public Double getQty(){ return this.qty == null ? 0 : this.qty; }
|
|
|
|
|
// 不可能为 null 值
|
|
|
|
|
// Rock.Yu at 2019-06-22 20:03
|
|
|
|
|
//private Double getQty(){ return this.qty == null ? new Double(0) : this.qty; }
|
|
|
|
|
|
|
|
|
|
@Column(name = "UNIT")
|
|
|
|
|
@ApiParam("单位")
|
|
|
|
|
public String unit;
|
|
|
|
|
private String unit;
|
|
|
|
|
|
|
|
|
|
@Column(name = "ORDER_NO")
|
|
|
|
|
@ApiParam("订单号")
|
|
|
|
|
public String orderNo;
|
|
|
|
|
private String orderNo;
|
|
|
|
|
|
|
|
|
|
@Column(name = "PRINT_QTY")
|
|
|
|
|
@ColumnDefault("0")
|
|
|
|
|
@ApiParam(value = "条码打印数量", example = "0")
|
|
|
|
|
public Double printQty;
|
|
|
|
|
private Double printQty;
|
|
|
|
|
|
|
|
|
|
public Double getPrintQty(){ return this.printQty == null ? 0 : this.printQty; }
|
|
|
|
|
//private Double getPrintQty(){ return this.printQty == null ? new Double(0) : this.printQty; }
|
|
|
|
|
|
|
|
|
|
@Column(name = "RC_QTY")
|
|
|
|
|
@ColumnDefault("0")
|
|
|
|
|
@ApiParam(value = "收货数量", example = "0")
|
|
|
|
|
public Double rcQty;
|
|
|
|
|
private Double rcQty;
|
|
|
|
|
|
|
|
|
|
public Double getRcQty(){ return this.rcQty == null ? 0 : this.rcQty; }
|
|
|
|
|
//private Double getRcQty(){ return this.rcQty == null ? new Double(0) : this.rcQty; }
|
|
|
|
|
|
|
|
|
|
@Column(name = "PASS_QTY")
|
|
|
|
|
@ColumnDefault("0")
|
|
|
|
|
@ApiParam(value = "质检合格数量", example = "0")
|
|
|
|
|
public Double passQty;
|
|
|
|
|
private Double passQty;
|
|
|
|
|
|
|
|
|
|
public Double getPassQty(){ return this.passQty == null ? 0 : this.passQty; }
|
|
|
|
|
//private Double getPassQty(){ return this.passQty == null ? new Double(0) : this.passQty; }
|
|
|
|
|
|
|
|
|
|
@Column(name = "NG_QTY")
|
|
|
|
|
@ColumnDefault("0")
|
|
|
|
|
@ApiParam(value = "质检不合格数量", example = "0")
|
|
|
|
|
public Double ngQty;
|
|
|
|
|
private Double ngQty;
|
|
|
|
|
|
|
|
|
|
public Double getNgQty(){ return this.ngQty == null ? 0 : this.ngQty; }
|
|
|
|
|
//private Double getNgQty(){ return this.ngQty == null ? new Double(0) : this.ngQty; }
|
|
|
|
|
|
|
|
|
|
@Column(name = "PLAN_DATE")
|
|
|
|
|
@ApiParam("计划交货日期")
|
|
|
|
|
public String planDate;
|
|
|
|
|
private String planDate;
|
|
|
|
|
|
|
|
|
|
@Column(name = "PLAN_TIME")
|
|
|
|
|
@ApiParam("计划交货时间")
|
|
|
|
|
public String planTime;
|
|
|
|
|
private String planTime;
|
|
|
|
|
|
|
|
|
|
@Column(name = "ERP_AREA_NO")
|
|
|
|
|
@ApiParam("默认收货库存地")
|
|
|
|
|
public String erpAreaNo;
|
|
|
|
|
private String erpAreaNo;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 状态:10 N=正常,20 C=行取消
|
|
|
|
|
*/
|
|
|
|
|
@Column(name = "ITEM_STATUS")
|
|
|
|
|
@ApiParam("状态")
|
|
|
|
|
public Integer itemStatus;
|
|
|
|
|
private Integer itemStatus;
|
|
|
|
|
|
|
|
|
|
@Column(name = "SNP")
|
|
|
|
|
@ApiParam("标准包装")
|
|
|
|
|
public Double snp;
|
|
|
|
|
private Double snp;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 是否免费:0=计费,1=免费
|
|
|
|
|
*/
|
|
|
|
|
@Column(name = "IS_FREE")
|
|
|
|
|
@ApiParam(value = "是否免费", example = "1")
|
|
|
|
|
public Integer isFree;
|
|
|
|
|
private Integer isFree;
|
|
|
|
|
|
|
|
|
|
@Transient
|
|
|
|
|
@ApiParam(value = "散件收货输入数量", example = "0")
|
|
|
|
|
public Double inputRcQty;
|
|
|
|
|
private Double inputRcQty;
|
|
|
|
|
|
|
|
|
|
@Transient
|
|
|
|
|
@ApiParam(value = "供应商批次")
|
|
|
|
|
public String dateCode;
|
|
|
|
|
private String dateCode;
|
|
|
|
|
|
|
|
|
|
@Transient
|
|
|
|
|
@ApiParam("前端表格编辑使用")
|
|
|
|
|
public Boolean isSet = false;
|
|
|
|
|
private Boolean isSet = false;
|
|
|
|
|
|
|
|
|
|
@Transient
|
|
|
|
|
@ApiParam("供应商批次字段是否可编辑")
|
|
|
|
|
public Boolean isDateCodeEdit = true;
|
|
|
|
|
private Boolean isDateCodeEdit = true;
|
|
|
|
|
|
|
|
|
|
public Double getInputRcQty(){ return this.inputRcQty == null ? 0 : this.inputRcQty; }
|
|
|
|
|
//private Double getInputRcQty(){ return this.inputRcQty == null ? new Double(0) : this.inputRcQty; }
|
|
|
|
|
|
|
|
|
|
@Version
|
|
|
|
|
@Column(name = "LOCK_VERSION")
|
|
|
|
|
@ApiParam(value = "乐观锁", example = "1")
|
|
|
|
|
public transient int lockVersion;
|
|
|
|
|
private transient int lockVersion;
|
|
|
|
|
|
|
|
|
|
@Transient
|
|
|
|
|
@ApiParam("PO条码总箱数")
|
|
|
|
|
public Integer totalBoxes;
|
|
|
|
|
private Integer totalBoxes;
|
|
|
|
|
|
|
|
|
|
@Transient
|
|
|
|
|
@ApiParam("差异")
|
|
|
|
|
public Double difference;
|
|
|
|
|
private Double difference;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|