package com.jwipc.order.dto;

import cn.hutool.core.util.StrUtil;
import com.jwipc.api.dto.MesBaseParamDTO;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * <p> </p>
 *
 * @author ZhangJie
 * @version 1.0
 * @since JDK 1.8
 */
@Data
public class QcodeToMesDTO extends MesBaseParamDTO implements Serializable {
    @Serial
    private static final long serialVersionUID = -5602673541498358803L;

    private IT_DATA IT_DATA;

    @Data
    public static class IT_DATA {
        private List<IT_HEAD_Item> item;
    }

    @Data
    public static class IT_HEAD_Item {
        private String CPN;
        private BigDecimal QTY;
        private String UNIT;
        private String VENDOR;
        private String DC;
        private String TradingCode = StrUtil.SPACE;
        private String PO;
        private String InvNo = StrUtil.SPACE;
        private String BarcodeNo;
        private String LOT;
        private String Manufacture;
        private String MPN;
        private String VER;
        private String MSL;
        private String Part_Type;
        private String LabelLevel;
        private String printContent;
        private String SCRAP;
        private String BOXLabelContent;
        private Integer InnerNum;
        private String Vname;
        private String lasteditby;
        private String lasteditdt;
        private String Reserve1;
    }
}
