(1089 过程质量检测基础数据;1090 返厂返修基础数据)
parent
fd5c6b2c9d
commit
00e849a62e
@ -0,0 +1,31 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.model;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesDefect;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.persistence.Transient;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\10\24 22:04
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
public class MesDefectModel {
|
||||
|
||||
private String defectCode;
|
||||
|
||||
@ApiParam("缺陷名称")
|
||||
private String defectName;
|
||||
|
||||
@ApiParam("缺陷类型")
|
||||
private String defectType;
|
||||
|
||||
@Transient
|
||||
@ApiParam("缺陷分类子集")
|
||||
private List<MesDefect> mesDefectList;
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.model;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\10\18 19:15
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Api("mes 物料BOM")
|
||||
public class MesPartBomModel {
|
||||
|
||||
@ApiParam("物料编号")
|
||||
private String partNo;
|
||||
|
||||
@ApiParam("物料名称")
|
||||
private String partName;
|
||||
|
||||
@ApiParam("数量")
|
||||
private Integer qty;
|
||||
|
||||
public MesPartBomModel() {
|
||||
|
||||
}
|
||||
|
||||
public MesPartBomModel(String partNo, String partName, Integer qty) {
|
||||
this.partNo = partNo;
|
||||
this.partName = partName;
|
||||
this.qty = qty;
|
||||
}
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.model;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\10\24 22:04
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
public class MesProcessBomModel {
|
||||
|
||||
private Long id;
|
||||
@ApiParam("子物料编码")
|
||||
private String itemPartNo;
|
||||
@ApiParam("子物料名称")
|
||||
private String itemPartName;
|
||||
@ApiParam("产品数量")
|
||||
private Double qty;
|
||||
private Integer isValid;
|
||||
private Integer isDeleted;
|
||||
private String organizeCode;
|
||||
private Integer isFeed;
|
||||
private String workCenterCode;
|
||||
private String workCellCode;
|
||||
@ApiParam("拆解数")
|
||||
private Double dismantleQty;
|
||||
|
||||
@ApiParam("产品物料编码")
|
||||
private String parentPartNo;
|
||||
@ApiParam("产品物料名称")
|
||||
private String parentPartName;
|
||||
@ApiParam("合格数")
|
||||
private Integer okQty;
|
||||
@ApiParam("缺失数")
|
||||
private Integer missQty;
|
||||
@ApiParam("报废数")
|
||||
private Integer scrapQty;
|
||||
|
||||
public MesProcessBomModel() {
|
||||
|
||||
}
|
||||
|
||||
public MesProcessBomModel(Long id, String itemPartNo, String itemPartName, Double qty, Integer isValid, Integer isDeleted, String organizeCode, Integer isFeed, String workCenterCode, String workCellCode, String parentPartNo, String parentPartName) {
|
||||
this.id = id;
|
||||
this.itemPartNo = itemPartNo;
|
||||
this.itemPartName = itemPartName;
|
||||
this.qty = qty;
|
||||
this.isValid = isValid;
|
||||
this.isDeleted = isDeleted;
|
||||
this.organizeCode = organizeCode;
|
||||
this.isFeed = isFeed;
|
||||
this.workCenterCode = workCenterCode;
|
||||
this.workCellCode = workCellCode;
|
||||
this.parentPartNo = parentPartNo;
|
||||
this.parentPartName = parentPartName;
|
||||
}
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.model;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\10\24 22:05
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
public class MesProdBindRecordModel {
|
||||
private Long id;
|
||||
private String itemPartNo;
|
||||
private String itemPartName;
|
||||
private Double qty;
|
||||
private Integer isValid;
|
||||
private Integer isDeleted;
|
||||
private String organizeCode;
|
||||
private Integer isFeed;
|
||||
private String workCenterCode;
|
||||
private String workCellCode;
|
||||
private String kpSn;
|
||||
@ApiParam("拆解数")
|
||||
private Double dismantleQty;
|
||||
|
||||
@ApiParam("产品物料编码")
|
||||
private String parentPartNo;
|
||||
@ApiParam("产品物料名称")
|
||||
private String parentPartName;
|
||||
@ApiParam("合格数")
|
||||
private Integer okQty;
|
||||
@ApiParam("缺失数")
|
||||
private Integer missQty;
|
||||
@ApiParam("报废数")
|
||||
private Integer scrapQty;
|
||||
public MesProdBindRecordModel() {
|
||||
|
||||
}
|
||||
|
||||
public MesProdBindRecordModel(Long id, String itemPartNo, String itemPartName, Double qty, Integer isValid, Integer isDeleted, String organizeCode, Integer isFeed, String workCenterCode, String workCellCode, String kpSn, String parentPartNo, String parentPartName, Double dismantleQty) {
|
||||
this.id = id;
|
||||
this.itemPartNo = itemPartNo;
|
||||
this.itemPartName = itemPartName;
|
||||
this.qty = qty;
|
||||
this.isValid = isValid;
|
||||
this.isDeleted = isDeleted;
|
||||
this.organizeCode = organizeCode;
|
||||
this.isFeed = isFeed;
|
||||
this.workCenterCode = workCenterCode;
|
||||
this.workCellCode = workCellCode;
|
||||
this.kpSn = kpSn;
|
||||
this.parentPartNo = parentPartNo;
|
||||
this.parentPartName = parentPartName;
|
||||
this.dismantleQty = dismantleQty;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue