# HkInventoryCategoryConfigDTO.java

    package cloud.wconnect.workperformance.pojo.dto.hkinventory;

    import cloud.wconnect.workperformance.entity.hkinventory.HkInventoryRoomTypeConfig;
    import jakarta.validation.constraints.NotBlank;
    import jakarta.validation.constraints.NotNull;
    import lombok.Data;
    import org.hibernate.validator.constraints.Length;

    import java.util.List;

    /**
     * 客房库存管理分类配置DTO
     *
     * @author lichen
     * @date 2025/4/22
     */
    @Data
    public class HkInventoryCategoryConfigDTO {

        /**
         * 分类名称
         */
        @NotBlank(message = "the categoryName cannot be blank")
        @Length(max = 255, message = "the categoryName cannot be longer than 255 characters")
        private String categoryName;

        /**
         * 新增客房类型id
         */
        @NotNull(message = "the addRoomTypeIds cannot be null")
        private List<Integer> addRoomTypeIds;

        /**
         * 删除客房类型id
         */
        @NotNull(message = "the deleteRoomTypeIds cannot be null")
        private List<Integer> deleteRoomTypeIds;

        /**
         * 新增和删除对应的房型配置集合
         */
        private List<HkInventoryRoomTypeConfig> roomTypeConfigList;

    }