|
|
@ -1,6 +1,7 @@
|
|
|
|
package cn.estsh.i3plus.pojo.wms.bean;
|
|
|
|
package cn.estsh.i3plus.pojo.wms.bean;
|
|
|
|
|
|
|
|
|
|
|
|
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
|
|
|
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
|
|
|
|
|
|
|
import cn.estsh.i3plus.pojo.base.annotation.FieldAnnotation;
|
|
|
|
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
|
|
|
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
|
|
|
import cn.estsh.i3plus.pojo.base.enumutil.WmsEnumUtil;
|
|
|
|
import cn.estsh.i3plus.pojo.base.enumutil.WmsEnumUtil;
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
@ -46,6 +47,7 @@ public class WmsPart extends BaseBean {
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "PART_TYPE")
|
|
|
|
@Column(name = "PART_TYPE")
|
|
|
|
@ApiParam(value = "物料类型")
|
|
|
|
@ApiParam(value = "物料类型")
|
|
|
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.SELECT)
|
|
|
|
@AnnoOutputColumn(refClass = WmsEnumUtil.WMS_PART_TYPE_STR.class, refForeignKey = "value", value = "description")
|
|
|
|
@AnnoOutputColumn(refClass = WmsEnumUtil.WMS_PART_TYPE_STR.class, refForeignKey = "value", value = "description")
|
|
|
|
private String partType;
|
|
|
|
private String partType;
|
|
|
|
|
|
|
|
|
|
|
@ -96,6 +98,7 @@ public class WmsPart extends BaseBean {
|
|
|
|
@ColumnDefault("2")
|
|
|
|
@ColumnDefault("2")
|
|
|
|
@Column(name = "IQC")
|
|
|
|
@Column(name = "IQC")
|
|
|
|
@ApiParam(value = "是否免检", example = "1")
|
|
|
|
@ApiParam(value = "是否免检", example = "1")
|
|
|
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.SELECT)
|
|
|
|
private Integer iqc;
|
|
|
|
private Integer iqc;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "MIN", columnDefinition = "decimal(18,8)")
|
|
|
|
@Column(name = "MIN", columnDefinition = "decimal(18,8)")
|
|
|
@ -116,6 +119,7 @@ public class WmsPart extends BaseBean {
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "SN_CONTROL")
|
|
|
|
@Column(name = "SN_CONTROL")
|
|
|
|
@ApiParam(value = "是否条码管理", example = "1")
|
|
|
|
@ApiParam(value = "是否条码管理", example = "1")
|
|
|
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.SELECT)
|
|
|
|
private Integer snControl;
|
|
|
|
private Integer snControl;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "VENDOR_NO")
|
|
|
|
@Column(name = "VENDOR_NO")
|
|
|
@ -152,6 +156,7 @@ public class WmsPart extends BaseBean {
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "IS_REPORT_PARTNO")
|
|
|
|
@Column(name = "IS_REPORT_PARTNO")
|
|
|
|
@ApiParam("是否报工零件")
|
|
|
|
@ApiParam("是否报工零件")
|
|
|
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.SELECT)
|
|
|
|
private Integer isReportPartNo;
|
|
|
|
private Integer isReportPartNo;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "REPORT_LOCATE_NO")
|
|
|
|
@Column(name = "REPORT_LOCATE_NO")
|
|
|
@ -172,6 +177,7 @@ public class WmsPart extends BaseBean {
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "IS_VALUABLE", columnDefinition = "int default 2")
|
|
|
|
@Column(name = "IS_VALUABLE", columnDefinition = "int default 2")
|
|
|
|
@ApiParam(value = "是否贵重")
|
|
|
|
@ApiParam(value = "是否贵重")
|
|
|
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.SELECT)
|
|
|
|
@AnnoOutputColumn(refClass = WmsEnumUtil.IS_VALUABLE.class, refForeignKey = "value", value = "description")
|
|
|
|
@AnnoOutputColumn(refClass = WmsEnumUtil.IS_VALUABLE.class, refForeignKey = "value", value = "description")
|
|
|
|
private Integer isValuable;
|
|
|
|
private Integer isValuable;
|
|
|
|
|
|
|
|
|
|
|
@ -189,10 +195,12 @@ public class WmsPart extends BaseBean {
|
|
|
|
private Double verbNum;
|
|
|
|
private Double verbNum;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "IS_PROD_LOT")
|
|
|
|
@Column(name = "IS_PROD_LOT")
|
|
|
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.SELECT)
|
|
|
|
@ApiParam(value = "是否录入生产批次", example = "1")
|
|
|
|
@ApiParam(value = "是否录入生产批次", example = "1")
|
|
|
|
private Integer isProdLot = 2;
|
|
|
|
private Integer isProdLot = 2;
|
|
|
|
|
|
|
|
|
|
|
|
@Column(name = "PULL_WAY")
|
|
|
|
@Column(name = "PULL_WAY")
|
|
|
|
|
|
|
|
@FieldAnnotation(webFieldType = WmsEnumUtil.FIELD_TYPE.SELECT)
|
|
|
|
@ApiParam(value = "拉动方式", example = "0")
|
|
|
|
@ApiParam(value = "拉动方式", example = "0")
|
|
|
|
private Integer pullWay = 0;
|
|
|
|
private Integer pullWay = 0;
|
|
|
|
|
|
|
|
|
|
|
|