# GroupPickupDetailDTO.java

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

    import jakarta.validation.constraints.Max;
    import jakarta.validation.constraints.NotEmpty;
    import jakarta.validation.constraints.NotNull;
    import lombok.Data;
    import org.hibernate.validator.constraints.Length;
    import org.hibernate.validator.constraints.Range;

    /**
     * DTO: Group Pickup
     *
     * @author: yyt
     * 2025-07-07
     */
    @Data
    public class GroupPickupDetailDTO {

        /**
         * 组名
         */
        @NotEmpty(message = "the groupName is required")
        @Length(max = 255, message = "the groupName max length is 255")
        private String groupName;

        /***
         * 预定状态（1:Definite 2:Tentative）
         */
        @NotNull(message = "the bookingStatus is required")
        @Range(min = 1, max = 2, message = "the bookingStatus must in [1:Definite, 2:Tentative]")
        private Integer bookingStatus;

        /**
         * 订房数
         */
        @Max(value = 100_000, message = "the roomPickup max value is 100_000")
        private Integer roomPickup;

    }