# InternalGroupPickupDTO.java

    package cloud.wconnect.rateshop.pojo.dto.rateshop.internal;

    import jakarta.validation.Valid;
    import lombok.AllArgsConstructor;
    import lombok.Builder;
    import lombok.Data;
    import lombok.NoArgsConstructor;

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

    /**
     * DTO: Group pickup
     *
     * @author zc
     * @date 2024/03/22
     */
    @Data
    @Builder
    @AllArgsConstructor
    @NoArgsConstructor
    public class InternalGroupPickupDTO {

        /**
         * 开始日期(yyyyMMdd)
         */
        @NotNull(message = "The startDate cannot be null")
        private Integer startDate;

        /**
         * 结束日期(yyyyMMdd)
         */
        @NotNull(message = "The endDate cannot be null")
        private Integer endDate;

        /**
         * Group pickup data
         */
        @Valid
        @NotNull(message = "the dataList cannot be null")
        private List<InternalGroupPickupDataDTO> dataList;
    }