package com.jwipc.order.dto;

import lombok.Data;

import java.util.List;
import java.util.UUID;

/**
 * <p> </p>
 *
 * @author ZhangJie
 * @version 1.0
 * @since JDK 1.8
 */
@Data
public class CreateShortagePlanDTO {

    private Auth IS_REQ = new Auth(UUID.randomUUID().toString());

    private List<ITData> IT_DATA;
    public static class ITData {
        public String ZVer;
        //批次号
        public String DATE_NUMBER;
        public String ZXqrq;
        public String WERKS;
        public String AUFNR;
        public String MATNR;
        public String ZTDLINE;
        public String ZMATNR;
        public String ZTDLINE2;
        public String MATKL;
        public String BDMNG;
        public String WGBEZ;
        public String EKGRP;
        public String EKNAM;
        public String ZKc;
        public String ZCgwjsl;
        public String ZQlsl;
        public String ZQgsl;
        public String ZZjkc;
        public String ZDjkc;
        public String ZBlpkc;
        public String ZHjqlsl;
        public String NFMAT;
        public String ZHjwj;
        public String MAT01;
        public String MNG01;
        public String MAT02;
        public String MNG02;
        public String MAT03;
        public String MNG03;
        public String ZSXRQ;
        public String ZYICHANG;
        public String EINDT;

        /**
         * 分批交货交期回复
         */
        public String ZBZ2;
        /**
         * 备注
         */
        public String ZTEXT;

        /**
         * 质检冻结库存
         */
        public String ZIQCBLOCK;

    }

    public static class Auth {
        public String SNDPRN;
        public String RCVPRN;

        public String MESSAGEID;

        public String REQKEYID;

        public String REQUSER;
        public String NOTE1;
        public String NOTE2;
        public String NOTE3;

        public Auth(String uuid) {
            MESSAGEID = uuid;
            REQKEYID = uuid;
        }
    }
}
