package com.xinelu.applet.vo.logistics;

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

import java.io.Serializable;
import java.util.List;

/**
 * @Description 快递鸟单号识别接口返回值实体类
 * @Author 纪寒
 * @Date 2022-11-01 14:44:06
 * @Version 1.0
 */
@NoArgsConstructor
@Data
public class DistinguishResultVO implements Serializable {

    private static final long serialVersionUID = 5858502009039750987L;

    @JsonProperty("EBusinessID")
    private String eBusinessID;

    @JsonProperty("Success")
    private Boolean success;

    @JsonProperty("LogisticCode")
    private String logisticCode;

    @JsonProperty("Shippers")
    private List<ShippersDTO> shippers;

    @NoArgsConstructor
    @Data
    public static class ShippersDTO {

        @JsonProperty("ShipperCode")
        private String shipperCode;

        @JsonProperty("ShipperName")
        private String shipperName;
    }
}
