# DrawerNumberConfigDTO.java

    package cloud.wconnect.frontoffice.pojo.dto.drawercount;

    import lombok.AllArgsConstructor;
    import lombok.Data;
    import lombok.NoArgsConstructor;
    import org.hibernate.validator.constraints.Range;

    import jakarta.validation.constraints.NotNull;

    /**
     * DTO: 抽屉数量配置
     *
     * @author zc
     * @date 2023/08/24
     */
    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public class DrawerNumberConfigDTO {

        /**
         * Drawer Number
         */
        @NotNull(message = "The drawerNumber cannot be null.")
        @Range(min = 1, max = 10, message = "The drawerNumber must be between 1 and 10")
        private Integer drawerNumber;
    }