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

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

import java.math.BigDecimal;
import java.util.List;

@Schema(description = "管理后台 - 航次库存分配保存 Request VO")
@Data
public class VoyageStockDistributeNewSaveReqVO {

    @Schema(description = "ID", example = "1")
    private Long id;

    @Schema(description = "分销商ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long distributorId;

    @Schema(description = "分销商或者门店ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long objectId;

    @Schema(description = "1分销商 2门店", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer type;

    @Schema(description = "库存数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private BigDecimal num;

    @Schema(description = "分配的房型房间数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private BigDecimal roomModelNum;

    @Schema(description = "房型ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long roomModelId;

    @Schema(description = "楼层", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer floor;

    @Schema(description = "航次ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long voyageId;

    @Schema(description = "船ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long shipId;

    @Schema(description = "是否启用共享库存", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer enableShare;
    /**
     * 房间列表
     */
    List<VoyageStockDistributorRoomSaveReqVO> roomList;






}
