package com.fs.hisStore.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class ExpressInfoDTO {

    @JsonProperty("LogisticCode")
    @ApiModelProperty(value = "物流运单号")
    private String LogisticCode;

    @JsonProperty("ShipperCode")
    @ApiModelProperty(value = "快递公司编码")
    private String ShipperCode;


    @JsonProperty("Traces")
    @ApiModelProperty(value = "物流轨迹")
    private List<TracesDTO> Traces;


    @JsonProperty("State")
    @ApiModelProperty(value = "物流状态：0-暂无轨迹信息 1-已揽收 2-在途中,3-签收,4-问题件")

    private String State;

    @JsonProperty("StateEx")
    @ApiModelProperty(value = "状态")
    //增值物流状态：
    //0-暂无轨迹信息
    //1-已揽收
    //2-在途中
    // 201-到达派件城市
    // 202-派件中
    //211-已放入快递柜或驿站
    //3-已签收
    // 301-正常签收
    // 302-派件异常后最终签收
    // 304-代收签收
    // 311-快递柜或驿站签收
    //4-问题件
    // 401-发货无信息
    // 402-超时未签收
    // 403-超时未更新
    // 404-拒收(退件)
    // 405-派件异常
    // 406-退货签收
    // 407-退货未签收
    //412-快递柜或驿站超时未取
    //10-待揽件
    private String StateEx;


    @JsonProperty("EBusinessID")
    @ApiModelProperty(value = "用户ID")
    private String EBusinessID;


    @JsonProperty("Success")
    @ApiModelProperty(value = "成功与否")
    private boolean Success;


    @JsonProperty("Reason")
    @ApiModelProperty(value = "失败原因")
    private String Reason;

    private String ShipperName;

    @JsonProperty("OrderCode")
    @ApiModelProperty(value = "订单编号")
    private String OrderCode;
}
