# SoldOutManagementDTO.java

    package cloud.wconnect.workperformance.pojo.dto.monthlyreport.soldoutmanagement;

    import cloud.wconnect.commonlib.annotation.validator.DigitsCustom;
    import lombok.AllArgsConstructor;
    import lombok.Data;
    import lombok.NoArgsConstructor;

    import jakarta.validation.constraints.Min;
    import java.math.BigDecimal;

    /**
     * 售罄管理DTO
     *
     * @author lichen
     * @date 2023/9/4
     */
    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public class SoldOutManagementDTO {

        /**
         * ooo 房价数
         */
        @Min(value = 0, message = "The ooo is must be greater than 0")
        private Integer ooo;

        /**
         * 入住率
         */
        @DigitsCustom(integer = 3, message = "The occ is wrong format")
        @Min(value = 0, message = "The occ is must be greater than 0")
        private BigDecimal occ;

    }