# OvertimeSumQuery.java

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

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

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

    /**
     * Query: overtime sum
     *
     * @author zc
     * @date 2023/4/1
     */
    @Data
    @Builder
    @NoArgsConstructor
    @AllArgsConstructor
    public class OvertimeSumQuery {

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

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

        /**
         * 选择年份
         */
        private List<Integer> years;

        /**
         * 类型（1：overtime；2：sales）
         */
        private Integer type;
    }