# ArrivalBO.java

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

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

    import jakarta.validation.constraints.NotBlank;
    import jakarta.validation.constraints.Pattern;

    /**
     * Arrival
     *
     * @author yyt
     * 2023/7/26
     */
    @Data
    public class ArrivalBO {

        /**
         * 公司名称
         */
        @NotBlank(message = "the company must not be blank")
        @Length(max = 60, message = "the company max length is 60")
        private String company;

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

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

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

        /**
         * Conf No.
         */
        @NotBlank(message = "the confNumber must not be blank")
        @Length(max = 10, message = "the confNumber max length is 10")
        private String confNumber;

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

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

    }