package com.hzya.frame.ttxofs.dto.stock;

import com.hzya.frame.ttxofs.basics.ReturnMessageBasics;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 OFS出库单查询相应类
*/
@Data
public class StockoutOrderSearchResponse extends ReturnMessageBasics {
    private List<StockoutOrder> data;

    @Data
    public static class StockoutOrder {
        private StockoutH header;
        private List<StockoutB> details;

        @Data
        public static class StockoutH {

            private String id;
            private String clientCode;
            private String companyCode;
            private String storeCode;
            private String facilityCode;
            private String code;
            private String refOrderId;
            private String refOrderCode;
            private String refOrderType;
            private String status;
            private String consolidated;
            private String internalInstructionType;
            private String bizChannel;
            private String sourcePlatformCode;
            private String processType;
            private String sourceOrderId;
            private String sourceOrderCode;
            private String sourceUserAccount;
            private String shipToAttentionTo;
            private String shipToAddress;
            private String shipToCountry;
            private String shipToState;
            private String shipToCity;
            private String shipToDistrict;
            private String shipToMobile;
            private String totalLines;
            private String totalQty;
            private String totalContainers;
            private String totalCases;
            private String totalWeight;
            private String totalVolume;
            private String totalVolumeWeight;
            private String weightUM;
            private String volumeUM;
            private String totalAmount;
            private String totalPayAmount;
            private String postageAmount;
            private String itemTotalAmount;
            private String carrierCode;
            private String paymentStatus;
            private String codRequired;
            private String invoiceRequired;
            private String paidAt;
            private String shipFromAttentionTo;
            private String shipFromAddress;
            private String shipFromDistrict;
            private String shipFromCity;
            private String shipFromState;
            private String shipFromCountry;
            private String shipFromPostalCode;
            private String shipFromPhone;
            private String shipFromMobile;
            private String shipFromFax;
            private String shipFromEmail;
            private String codAmount;
            private String tax;
            private String taxPaid;
            private String shipToStateName;
            private String shipToCityName;
            private String shipToDistrictName;
            private String shipAt;
            private String shipmentType;
            private String shipmentNote;
            private String created;
            private String createdBy;
            private String lastUpdated;
            private String lastUpdatedBy;
        }
        @Data
        public static class StockoutB {
            private String clientCode;
            private String companyCode;
            private String facilityCode;
            private String shipmentCode;
            private String refOrderId;
            private String refOrderDetailId;
            private String refOrderCode;
            private String allocInvId;
            private String skuCode;
            private String skuName;
            private String sourceOrderCode;
            private String inventorySts;
            private String isGift;
            private String requestQty;
            private String shipQty;
            private String quantityUM;
            private String listPrice;
            private String itemTotalAmount;
            private String totalPayAmount;
            private String totalWeight;
            private String totalVolume;
            private String totalVolumeWeight;
            private String weightUM;
            private String volumeUM;
            private String created;
            private String createdBy;
            private String lastUpdated;
            private String lastUpdatedBy;
        }

    }
}
