# RateShopAdrWidgetQuery.java

    package cloud.wconnect.rateshop.pojo.query.rateshop.widget;

    import lombok.Data;

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

    /**
     * Query: widget for Adr
     *
     * @author zc
     * @date 2024/04/08
     */
    @Data
    public class RateShopAdrWidgetQuery {

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

        /**
         * 开始时间（yyyyMMdd）
         */
        @NotNull(message = "The startDate cannot be null")
        private Long startDate;

        /**
         * 结束时间（yyyyMMdd）
         */
        @NotNull(message = "The endDate cannot be null")
        private Long endDate;
    }