package com.yc.ship.module.trade.api.contract.dto;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 合同平台申请合同-行程信息
 *
 * &#064;Author: qsl
 * @Date: 2025/03/20/16:49
 * &#064;Description:
 */
@Schema(description = "行程信息")
@Data
public class Itinerary {

    @Schema(description = "出发日期，YYYY-MM-DD", example = "true")
    private Date startDate;

    @Schema(description = "结束日期，YYYY-MM-DD（国内游必填）", example = "true")
    private Date endDate;

    @Schema(description = "行程天数", example = "true")
    private Integer days;

    @Schema(description = "过夜天数", example = "true")
    private Integer nights;

    @Schema(description = "团号")
    private String groupId;

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

    @Schema(description = "行程单模式：0标准模式（行程描述为结构化数据，按照routes:Object[]结构每天每站点形式上报）。 " +
            "1简易模式（行程描述为文本形式，按routes[0].description:String形式上报）。(国内游必填)", example = "true")
    private Integer inputType;

    @Schema(description = "行程单", example = "true")
    private List<Route> routes;

    @Schema(description = "出发地城市")
    private DepartureCity departureCity;

    @Schema(description = "行程描述（简易模式下必填）（国内游必填）", example = "true")
    private String description;
}
