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() { // Details = new ArrayList<>(); // } // 单据类型,0 采购入库;1 生产入库;2 退货入库; @JsonProperty("billType") @JSONField(name = "billType") private String billType; // // 生产线编码 @JsonProperty("productLineId") private String productLineId; // // 工位编码 @JsonProperty("stationId") private String stationId; // 生产订单号 @JsonProperty("orderNo") @JSONField(name = "orderNo") private String orderNo; // agv任务号 @JsonProperty("taskNo") @JSONField(name = "taskNo") private String taskNo; // agv运输类型 @JsonProperty("transType") @JSONField(name = "transType") private String transType; // 时间,格式:2025-11-19 10:11:12 @JsonProperty("createTime") @JSONField(name = "createTime") private String createTime; // 入库详情 @JsonProperty("details") @JSONField(name = "details") private List details; // @Data // @NoArgsConstructor // public static class ItemDetails { // // // 物料编码 // @JsonProperty("itemNo") // @JSONField(name = "itemNo") // private String itemNo; // // // 数量 // @JsonProperty("anfme") // @JSONField(name = "anfme") // private String anfme; // } // //// // 任务编号 //// private String taskno; //// // 任务名称 //// private String taskname; //// // 生产线编码 //// @JsonProperty("ProductLineId") //// private String ProductLineId; //// // 工位编码 //// @JsonProperty("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 Float Qty; // // 版本号 // @JsonProperty("VersionNo") // @JSONField(name = "VersionNo") // private String VersionNo; //// // 生产订单号 //// @JsonProperty("OrderNo") //// private String OrderNo; // // 配盘信息 // @JsonProperty("ProductInfo") // @JSONField(name = "ProductInfo") // private List ProductInfo; // // @Data // @NoArgsConstructor // public static class ProductInfo { // // // 物料二维码 // @JsonProperty("ItemBarcode") // @JSONField(name = "ItemBarcode") // private String ItemBarcode; // // 质量状态 // @JsonProperty("QualityStatus") // @JSONField(name = "QualityStatus") // private Integer QualityStatus; // } }