package com.yc.ship.module.trade.controller.app.otc.vo;

import com.yc.ship.module.resource.dal.dataobject.routetrip.ResourceRouteTripDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Schema(description = "APP-行程详情")
@Data
public class AppItineraryDetailVO {

    @Schema(description = "订单id")
    private Long orderId;

    @Schema(description = "订单编号")
    private String orderNo;

    @Schema(description = "航向")
    private Integer direction;

    @Schema(description = "订单状态")
    private String statusDesc;

    @Schema(description = "线路id")
    private Long routeId;

    @Schema(description = "线路名称")
    private String routeName;

    @Schema(description = "出发时间")
    private LocalDateTime boardingTime;

    @Schema(description = "开始时间")
    private LocalDateTime startTime;

    @Schema(description = "结束时间")
    private LocalDateTime leaveTime;

    @Schema(description = "登船码头id")
    private Long onDockId;

    @Schema(description = "登船码头名称")
    private String onDockName;

    @Schema(description = "同行人员")
    private List<AppItineraryPersonVO> persons;

    @Schema(description = "航线行程")
    private List<ResourceRouteTripDO> routeTrips;

}
