package com.zy.asrs.entity.mes;
|
|
import com.alibaba.fastjson.annotation.JSONField;
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
import lombok.NoArgsConstructor;
|
|
import java.util.ArrayList;
|
import java.util.List;
|
|
// MES入库申请\入库完成
|
//@EqualsAndHashCode(callSuper = true)
|
@Data
|
public class MesInApply { //extends MesParent
|
|
public MesInApply() {
|
ProductInfo = new ArrayList<>();
|
}
|
|
// // 任务编号
|
// private String taskno;
|
// // 任务名称
|
// private String taskname;
|
// // 生产线编码
|
// @JsonProperty("ProductLineId")
|
// private String ProductLineId;
|
// // 工位编码
|
// @JsonProperty("StationId")
|
// private String StationId;
|
// 任务编号
|
@JsonProperty("taskno")
|
@JSONField(name = "taskno")
|
private String taskno;
|
// 任务名称
|
@JsonProperty("taskname")
|
@JSONField(name = "taskname")
|
private String taskname;
|
// 生产订单号
|
@JsonProperty("OrderNo")
|
@JSONField(name = "OrderNo")
|
private String OrderNo;
|
// 生产线编码
|
@JsonProperty("ProductLineId")
|
@JSONField(name = "ProductLineId")
|
private String ProductLineId;
|
// 工位编码
|
@JsonProperty("StationID")
|
@JSONField(name = "StationID")
|
private String StationID;
|
|
// 零件编码
|
@JsonProperty("Itemno")
|
@JSONField(name = "Itemno")
|
private String Itemno;
|
// 托盘条码
|
@JsonProperty("TuoPanId")
|
@JSONField(name = "TuoPanId")
|
private String TuoPanId;
|
// 数量,托盘零件数量
|
@JsonProperty("Qty")
|
@JSONField(name = "Qty")
|
private Integer Qty;
|
// 版本号
|
@JsonProperty("VersionNo")
|
@JSONField(name = "VersionNo")
|
private String VersionNo;
|
// 运输类型
|
@JsonProperty("TransType")
|
@JSONField(name = "TransType")
|
private String TransType;
|
|
// // 生产订单号
|
// @JsonProperty("OrderNo")
|
// private String OrderNo;
|
// 配盘信息
|
@JsonProperty("ProductInfo")
|
@JSONField(name = "ProductInfo")
|
private List<ProductInfo> ProductInfo;
|
|
@Data
|
@NoArgsConstructor
|
public static class ProductInfo {
|
|
// 物料二维码
|
@JsonProperty("ItemBarcode")
|
@JSONField(name = "ItemBarcode")
|
private String ItemBarcode;
|
// 质量状态,0 OK;1 NG;
|
@JsonProperty("QualityStatus")
|
@JSONField(name = "QualityStatus")
|
private Integer QualityStatus;
|
}
|
|
}
|