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

import lombok.*;

import java.math.BigDecimal;
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 javax.validation.constraints.NotNull;
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 VoyageStockDistributePageReqVO extends PageParam {

    @Schema(description = "分销商ID", example = "2991")
    private Long distributorId;

    @Schema(description = "门店ID", example = "5290")
    private Long storeId;

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

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

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

    @Schema(description = "房型ID", example = "30594")
    private Long roomModelId;

    @Schema(description = "楼层号")
    private Integer floor;

    @Schema(description = "分配房间数")
    private BigDecimal num;

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

}