package cn.iocoder.yudao.module.system.controller.admin.biz.vo;

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

import java.util.List;

/**
 * 楼层床位统计数据响应VO
 */
@Data
@Schema(description = "楼层床位统计数据响应VO")
public class BuildFloorDataRespVO {

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

    @Schema(description = "总床位数")
    private Integer totalBedCount;

    @Schema(description = "占用床位数")
    private Integer usedBedCount;

    @Schema(description = "空闲床位数")
    private Integer unusedBedCount;

    @Schema(description = "临时占用数")
    private Integer temporaryOccupationCount;

    @Schema(description = "统计信息")
    private Statistics statistics;

    @Data
    @Schema(description = "统计信息")
    public static class Statistics {
        @Schema(description = "房间类型统计列表（动态，如：2人间、4人间、6人间等）")
        private List<RoomTypeStatistics> roomTypeStatisticsList;
    }

    @Data
    @Schema(description = "房间类型统计")
    public static class RoomTypeStatistics {
        @Schema(description = "房间类型，如：2人间、4人间、6人间")
        private String roomType;

        @Schema(description = "一级护理数量")
        private Integer level1Count;

        @Schema(description = "二级护理数量")
        private Integer level2Count;

        @Schema(description = "三级护理数量")
        private Integer level3Count;

        @Schema(description = "四级护理数量")
        private Integer level4Count;
    }
}

