# RevparDTO.java

    package cloud.wconnect.workperformance.pojo.dto.saleskpi.monthly.revpar;

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

    import jakarta.validation.constraints.NotNull;

    /**
     * DTO: Revpar
     *
     * @author: yyt
     * 2024-06-25
     */
    @Data
    public class RevparDTO {

        @NotNull(message = "the source must not be null")
        @Range(min = 1, max = 2, message = "the source must in [1: Monthly Report; 2: Crawl]")
        private Integer source;

    }