# UpdateFbConfigItemDTO.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
     * 2025-08-16
     */
    @Data
    @EqualsAndHashCode(callSuper = true)
    public class UpdateFbConfigItemDTO extends UpdateConfigItemDTO {

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

        /**
         * 1.Restaurant，2.Banquets，3.Restaurant And Room Service，4.Banquet
         */
        @NotNull(message = "the type must not be null")
        @Range(min = 1, max = 4, message = "the type must in [1.Restaurant，2.Banquets，3.Restaurant And Room Service，4.Banquet]")
        private Integer type;

    }