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("快递单状态")
    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;
}
