# GuestsInHouseComplimentaryBO.java

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

    import lombok.Data;
    import org.hibernate.validator.constraints.Length;

    import jakarta.validation.constraints.NotBlank;
    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
    public class GuestsInHouseComplimentaryBO {

        /**
         * 房间号
         */
        @NotBlank(message = "the roomNumber must not be blank")
        @Length(max = 10, message = "the roomNumber max length is 10")
        private String roomNumber;

        /**
         * 房间类型
         */
        @NotBlank(message = "the roomType must not be blank")
        @Length(max = 10, message = "the roomType max length is 10")
        private String roomType;

        /**
         * 客户姓名
         */
        @NotBlank(message = "the guestName must not be blank")
        @Length(max = 60, message = "the guestName max length is 60")
        private String guestName;

        /**
         * 客户姓名Id
         */
        @Length(max = 10, message = "the guestNameId max length is 10")
        private String guestNameId;

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

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

        /**
         * 成年人数
         */
        @NotNull(message = "the adultsNumber must not be null")
        private Integer adultsNumber;

        /**
         * 儿童人数
         */
        @NotNull(message = "the childrenNumber must not be null")
        private Integer childrenNumber;

        /**
         * 备注
         */
        private List<String> commentList;

    }