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

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

import javax.validation.constraints.NotNull;

@Schema(description = "航次APP - 航次日历价格查询参数")
@Data
public class AppVoyageCalendarPriceReqVO {

    @Schema(description = "航线ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "航线ID不能为空")
    private Long routeId;

    @Schema(description = "船ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "船ID不能为空")
    private Long shipId;

    @Schema(description = "开始时间")
    private String startDate;

    @Schema(description = "结束时间")
    private String endDate;
}
