package com.prolog.cs.biz.outbound.model.dto.faceorder;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 顺丰快递
 */
@Data
@NoArgsConstructor
public class SfFaceOrderAddDTO {

    /**
     * receiver : {"area":"硚口区","address":"湖北省武汉市硚口区硚口路中山大道1号","province":"湖北省","town":"硚口路","city":"武汉市","name":"16888888888","mobile":"16888888888"}
     * destCode : 027
     * sender : {"area":"章贡区","address":"江西省赣州市章贡区经济技术开发区凤凰路7号","province":"江西省","town":"凤凰路","city":"赣州市","name":"4009158120","mobile":"4009158120"}
     * originCode : 797
     * routeList : [{"destTeamCode":"036","proCode":"电商标快","codingMapping":"A14G06","codingMappingOut":"","destRouteLabel":"027SD-023","destCityCode":"027","twoDimensionCode":"MMM={'k1':'027WA','k2':'027SD','k3':'036','k4':'T68','k5':'SF7444470777152','k6':'','k7':'c1e9a268'}"}]
     * waybillNo : SF7444470777152
     * createOrderInfo : {"apiErrorMsg":"","apiResponseID":"00018A8C7751C33FEC5825E92B3BAC3F","apiResultCode":"A1000","apiResultData":"{\"success\":true,\"errorCode\":\"S0000\",\"errorMsg\":null,\"msgData\":{\"orderId\":\"ZJ26466\",\"originCode\":\"797\",\"destCode\":\"027\",\"filterResult\":2,\"remark\":\"\",\"url\":null,\"paymentLink\":null,\"isUpstairs\":null,\"isSpecialWarehouseService\":null,\"mappingMark\":null,\"agentMailno\":null,\"returnExtraInfoList\":null,\"waybillNoInfoList\":[{\"waybillType\":1,\"waybillNo\":\"SF7444470777152\",\"boxNo\":null,\"length\":null,\"width\":null,\"height\":null,\"weight\":null,\"volume\":null}],\"routeLabelInfo\":[{\"code\":\"1000\",\"routeLabelData\":{\"waybillNo\":\"SF7444470777152\",\"sourceTransferCode\":\"797\",\"sourceCityCode\":\"797\",\"sourceDeptCode\":\"797\",\"sourceTeamCode\":\"\",\"destCityCode\":\"027\",\"destDeptCode\":\"027SD\",\"destDeptCodeMapping\":\"\",\"destTeamCode\":\"036\",\"destTeamCodeMapping\":\"\",\"destTransferCode\":\"027WA\",\"destRouteLabel\":\"027SD-023\",\"proName\":\"\",\"cargoTypeCode\":\"C109\",\"limitTypeCode\":\"T68\",\"expressTypeCode\":\"B1\",\"codingMapping\":\"A14G06\",\"codingMappingOut\":\"\",\"xbFlag\":\"0\",\"printFlag\":\"000000000\",\"twoDimensionCode\":\"MMM={'k1':'027WA','k2':'027SD','k3':'036','k4':'T68','k5':'SF7444470777152','k6':'','k7':'c1e9a268'}\",\"proCode\":\"电商标快\",\"printIcon\":\"00000000\",\"abFlag\":\"\",\"destPortCode\":\"\",\"destCountry\":\"\",\"destPostCode\":\"\",\"goodsValueTotal\":\"\",\"currencySymbol\":\"\",\"cusBatch\":\"\",\"goodsNumber\":\"\",\"errMsg\":\"\",\"checkCode\":\"c1e9a268\",\"proIcon\":\"\",\"fileIcon\":\"\",\"fbaIcon\":\"\",\"icsmIcon\":\"\",\"destGisDeptCode\":\"027SD\",\"newIcon\":null,\"sendAreaCode\":null,\"destinationStationCode\":null,\"sxLabelDestCode\":null,\"sxDestTransferCode\":null,\"sxCompany\":null,\"newAbFlag\":null,\"destAddrKeyWord\":\"\",\"rongType\":null,\"waybillIconList\":null},\"message\":\"SF7444470777152:\"}],\"contactInfoList\":null,\"sendStartTm\":null,\"customerRights\":null,\"expressTypeId\":null}}"}
     */

    private String destCode;
    private String originCode;
    private String waybillNo;
    private String createOrderInfo;
    private String createOrderInfoRepeat;
    private List<RouteListBean> routeList;



    @NoArgsConstructor
    @Data
    public static class RouteListBean {
        /**
         * destTeamCode : 036
         * proCode : 电商标快
         * codingMapping : A14G06
         * codingMappingOut :
         * destRouteLabel : 027SD-023
         * destCityCode : 027
         * twoDimensionCode : MMM={'k1':'027WA','k2':'027SD','k3':'036','k4':'T68','k5':'SF7444470777152','k6':'','k7':'c1e9a268'}
         */

        private String destTeamCode;
        private String proCode;
        private String codingMapping;
        private String codingMappingOut;
        private String destRouteLabel;
        private String destCityCode;
        private String twoDimensionCode;
    }
}
