package com.yc.ship.module.resource.controller.admin.route.vo;

import com.yc.ship.module.resource.dal.dataobject.routecost.ResourceRouteCostDO;
import com.yc.ship.module.resource.dal.dataobject.routelight.ResourceRouteLightDO;
import com.yc.ship.module.resource.dal.dataobject.routetrip.ResourceRouteTripDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.math.BigDecimal;
import java.util.*;
import javax.validation.constraints.*;

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

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

    @Schema(description = "航线名称", example = "王五")
    private String name;

    @Schema(description = "航线编码")
    private String code;

    @Schema(description = "英文名称")
    private String nameEn;

    @Schema(description = "航向（字典）")
    private Integer direction;

    @Schema(description = "航线简称", example = "赵六")
    private String shortName;

    @Schema(description = "简拼")
    private String shortNameEn;

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

    @Schema(description = "离船码头", example = "1161")
    private Long leaveDockId;

    @Schema(description = "途经停靠码头")
    private String midwayDockIds;

    @Schema(description = "航线简介")
    private String introduce;

    @Schema(description = "航线关联景区")
    private String relationScenicIds;

    @Schema(description = "航线时长")
    private String duration;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "状态不能为空")
    private Integer status;

    @Schema(description = "行程天数")
    private Integer dayNum;

    @Schema(description = "行程晚数")
    private Integer nightNum;


    @Schema(description = "航线图片")
    private String routeImg;

    @Schema(description = "航线视频")
    private String routeVideo;

    @Schema(description = "航线详情")
    private String routeDetail;

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

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

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

    /**
     * 价格
     */
    @Schema(description = "价格")
    private BigDecimal price;

    /**
     * 航线主题
     */
    @Schema(description = "航线主题")
    private String routeTheme;

    @Schema(description = "航线亮点")
    private List<ResourceRouteLightDO> routeLights;

    @Schema(description = "航线费用包含")
    private List<ResourceRouteCostDO> routeCosts;

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