package com.liquidnet.service.goblin.dto.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

/**
 * 快递物流轨迹本体（Redis 双层结构 - track）
 */
@Data
@ApiModel("快递物流轨迹")
public class GoblinMailTrackInfoVo implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "快递单状态(快递100高级状态)：0-在途|1-揽收|2-疑难|3-签收|4-退签|5-派件|6-退回|7-转投|8-清关|10-待清关|11-清关中|12-已清关|13-清关异常|14-拒签")
    private String state;
    @ApiModelProperty("是否签收 0-未签收|1-已签收")
    private String ischeck;
    @ApiModelProperty("快递公司编码")
    private String com;
    @ApiModelProperty("快递单号")
    private String nu;
    @ApiModelProperty("轨迹节点全量倒序")
    private List<GoblinMailTrackDataVo> data;
    @ApiModelProperty("轨迹地图链接")
    private String trailUrl;
    @ApiModelProperty("路由信息")
    private GoblinMailTrackRouteInfoVo routeInfo;
    @ApiModelProperty("预计到达时间")
    private String arrivalTime;
    @ApiModelProperty("到达还需时间")
    private String remainTime;
    @ApiModelProperty("平均耗时")
    private String totalTime;
    @ApiModelProperty("最近主动查询时间")
    private String lastQueryAt;
    @ApiModelProperty("最近更新时间")
    private String updatedAt;
    @ApiModelProperty("数据来源 subscribe|query|admin")
    private String source;
}
