package com.yc.ship.module.product.controller.admin.voyage.vo;

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

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

@Schema(description = "管理后台 - 航次管理新增/修改 Request VO")
@Data
public class VoyageSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "22359")
    private Long id;

    @Schema(description = "航次名称", example = "李四")
    private String name;

    @Schema(description = "航次代码")
    private String code;

    @Schema(description = "游轮", example = "6699")
    private Long shipId;

    @Schema(description = "航线", example = "4445")
    private Long routeId;

    @Schema(description = "登船时间")
    private LocalDateTime boardingTime;

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

    @Schema(description = "离船时间")
    private LocalDateTime leaveTime;

    @Schema(description = "航次类别", example = "1")
    private Integer type;

    @Schema(description = "是否中转")
    private Integer transfer;

    @Schema(description = "中转时间")
    private LocalDateTime transferTime;

    @Schema(description = "登船码头", example = "1357")
    private Long boardingDockId;

    @Schema(description = "登船地点")
    private String boardingAddress;

    @Schema(description = "离船地点")
    private String leaveAddress;

    @Schema(description = "预定渠道")
    private List<Integer> channel;

    @Schema(description = "库存是否可见")
    private Integer stockVisible;

    @Schema(description = "上架状态", example = "1")
    private Integer shelfStatus;

    @Schema(description = "集合地点")
    private String venue;

    @Schema(description = "产品介绍")
    private String introduce;

    @Deprecated
    @Schema(description = "登船须知(弃用)")
    private String notice;

    /**
     * 预订须知
     */
    @Schema(description = "预订须知")
    private String bookingNotice;

    /**
     * 登船须知
     */
    @Schema(description = "登船须知")
    private String boardingNotice;

    /**
     * 儿童预定说明
     */
    @Schema(description = "儿童预定说明")
    private String childBookingNotice;

}