# UpdateRoomConfigItemDTO.java

    package cloud.wconnect.rateshop.pojo.dto.budgetdatabase;

    import jakarta.validation.constraints.NotNull;
    import lombok.Data;
    import lombok.EqualsAndHashCode;
    import org.hibernate.validator.constraints.Range;

    /**
     * DTO: Update Config Item
     *
     * @author yyt
     * @date 2025-08-16
     */
    @Data
    @EqualsAndHashCode(callSuper = true)
    public class UpdateRoomConfigItemDTO extends UpdateConfigItemDTO {

        /**
         * 分类 1、other，2、room
         */
        @NotNull(message = "the classification must not be null")
        @Range(min = 1, max = 2, message = "the classification must be in [1、other，2、room]")
        private Integer classification;

        /**
         * 1.transient, 2.group, 3.contract
         */
        @Range(min = 1, max = 3, message = "the type must be in [1.transient, 2.group, 3.contract]")
        private Integer type;

    }