# SalesQuery.java

    package cloud.wconnect.workperformance.pojo.query.mor.sales;

    import lombok.AllArgsConstructor;
    import lombok.Builder;
    import lombok.Data;
    import lombok.NoArgsConstructor;

    import jakarta.validation.constraints.NotEmpty;
    import java.util.List;

    /**
     * Query类：查询sales列表
     *
     * @author zc
     * @date 2023/4/4
     */
    @Data
    @Builder
    @AllArgsConstructor
    @NoArgsConstructor
    public class SalesQuery {

        /**
         * property id
         */
        private Integer propertyId;

        /**
         * 年份（2019,2020,2021）
         */
        @NotEmpty(message = "The years cannot be empty.")
        private List<Integer> years;

        /**
         * property ids
         */
        @NotEmpty(message = "The propertyIds cannot be empty.")
        private  List<Integer> propertyIds;

    }