# GuestsInHouseComplimentaryWrapperBO.java

    package cloud.wconnect.frontoffice.pojo.bo.comproom;

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

    import jakarta.validation.Valid;
    import jakarta.validation.constraints.NotBlank;
    import jakarta.validation.constraints.NotEmpty;
    import jakarta.validation.constraints.NotNull;
    import jakarta.validation.constraints.Pattern;
    import java.util.List;

    /**
     * Guests In-House Complimentary 报告的数据包装BO
     *
     * @author lichen
     * @date 2023/8/5
     */
    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public class GuestsInHouseComplimentaryWrapperBO {

        /**
         * 指定日期，格式（2023-07-01）
         */
        @NotBlank(message = "the date must not be blank")
        @Pattern(regexp = "^\\d{4}-\\d{2}-\\d{2}$", message = "The date format is incorrect, right format is [yyyy-MM-dd]")
        private String date;

        /**
         * 入住信息
         */
        @Valid
        @NotEmpty(message = "the list must not be empty")
        private List<GuestsInHouseComplimentaryBO> list;

    }