# WalkRoomRequestDTO.java

    package cloud.wconnect.frontoffice.pojo.dto.walkroomrequest;

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

    import jakarta.validation.constraints.NotBlank;
    import jakarta.validation.constraints.NotNull;
    import jakarta.validation.constraints.Null;

    /**
     * walkRoom数据dto类
     *
     * @author lichen
     * @date 2023/7/13
     */
    @Data
    public class WalkRoomRequestDTO {

        /**
         * walk room主键id
         */
        @Null(message = "the id must be null")
        private Long id;
        /**
         * fromPropertyId
         */
        @Null(message = "the fromPropertyId must be null")
        private Integer fromPropertyId;
        /**
         * toPropertyId
         */
        @NotNull(message = "the toPropertyId must not be null")
        private Integer toPropertyId;
        /**
         * firstName
         */
        @NotBlank(message = "the firstName must not be blank")
        @Length(max = 30, message = "the firstName max length is 30")
        private String firstName;
        /**
         * lastName
         */
        @NotBlank(message = "the lastName must not be blank")
        @Length(max = 30, message = "the lastName max length is 30")
        private String lastName;
        /**
         * 入住日期(yyyyMMdd)
         */
        @NotNull(message = "the checkInDate must not be null")
        private Integer checkInDate;
        /**
         * 离店日期(yyyyMMdd)
         */
        @NotNull(message = "the checkOutDate must not be null")
        private Integer checkOutDate;
        /**
         * 房间类型
         */
        @NotBlank(message = "the roomType must not be blank")
        @Length(max = 20, message = "the roomType max length is 20")
        private String roomType;
        /**
         * 渠道
         */
        @NotBlank(message = "the channel must not be blank")
        @Length(max = 150, message = "the channel max length is 150")
        private String channel;
        /**
         * Original Confirmation Number
         */
        @NotBlank(message = "the confirmationNumber must not be blank")
        @Length(max = 30, message = "the confirmationNumber max length is 30")
        private String confirmationNumber;
        /**
         * To Property 前台联系人姓名
         */
        @NotBlank(message = "the receiveAgentName must not be blank")
        @Length(max = 60, message = "the receiveAgentName max length is 60")
        private String receiveAgentName;
        /**
         * From Property 前台联系人（责任人）
         */
        @NotNull(message = "the agentUserId must not be null")
        private Integer agentUserId;
        /**
         * 备注
         */
        @Length(max = 1000, message = "the comment max length is 1000")
        private String comment;
    }