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

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

import java.time.LocalDate;
import java.util.List;

/**
 * 批量保存航次管理
 *
 * @author yc
 * @since 2025-04-23
 */
@Schema(description = "管理后台 - 批量保存航次管理")
@Data
public class VoyageSaveBatchReqVO {

    @Schema(description = "开始时间")
    private LocalDate startDate;
    @Schema(description = "结束时间")
    private LocalDate endDate;
    @Schema(description = "航次天数")
    private Integer voyageDays;
    @Schema(description = "间隔天数")
    private Integer intervalDays;
    @Schema(description = "游轮", example = "6699")
    private Long shipId;
    @Schema(description = "航线", example = "4445")
    private Long routeId;
    @Schema(description = "登船时间")
    private String boardingTime;
    @Schema(description = "开航时间")
    private String startTime;
    @Schema(description = "离船时间")
    private String leaveTime;
    @Schema(description = "航次类别", example = "1")
    private Integer type;
    @Schema(description = "登船码头ID")
    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 = "价格模板ID", example = "1")
    private Long templateId;

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

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

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

    /**
     * 登船开始时间增加天数
     */
    @Schema(description = "登船开始时间增加天数")
    private Integer startIntervalDays;

    /**
     * 登船结束时间增加天数
     */
    @Schema(description = "登船结束时间增加天数")
    private Integer leaveIntervalDays;
}
