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

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.yc.ship.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.yc.ship.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 航次价格分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class PriceVoyagePageReqVO extends PageParam {

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

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

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

    @Schema(description = "价格模板ID", example = "27165")
    private Long templateId;

    @Schema(description = "航次ID", example = "1860")
    private Long voyageId;

    @Schema(description = "价格模式（字典）")
    private Integer priceMode;

    @Schema(description = "有效期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] validateTime;

    @Schema(description = "状态", example = "1")
    private Integer status;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "航次ID列表")
    private List<Long> voyageIds;

}