package com.yc.ship.module.trade.controller.admin.report.vo;

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

import java.util.List;

@Schema(description = "管理后台 - 全航次库存看板表头 Response VO")
@Data
public class AllVoyageStockBoardTableHeadRespVO {
    @Schema(description = "房型键值")
    private String key;

    @Schema(description = "房型标签")
    private String label;

    @Schema(description = "房间总数")
    private Integer sumRooms;

    @Schema(description = "楼层列表")
    private List<FloorInfo> floors;

    @Schema(description = "楼层信息")
    @Data
    public static class FloorInfo {
        @Schema(description = "楼层键值")
        private String key;

        @Schema(description = "楼层名称")
        private String name;

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

        @Schema(description = "该楼层房间总数")
        private Integer totalRooms;
    }
}
