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

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@NoArgsConstructor
@Data
public class JdCancel {


    @JsonProperty("carrierCode")
    private String carrierCode;
    @JsonProperty("params")
    private List<JDParamsDTO> params;

    //京东快运
    private String productCode;
    private String orderOrigin;

    @NoArgsConstructor
    @Data
    public static class JDParamsDTO {
        @JsonProperty("waybillCode")
        private String waybillCode;
        @JsonProperty("orderCode")
        private String orderCode;
        @JsonProperty("orderOrigin")
        private Integer orderOrigin;
        @JsonProperty("cancelType")
        private Integer cancelType;
        @JsonProperty("customerCode")
        private String customerCode;
        @JsonProperty("cancelReason")
        private String cancelReason;
        @JsonProperty("cancelReasonCode")
        private String cancelReasonCode;
    }
}
