# ConfirmDTO.java

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

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

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

    /**
     * 接收方确认客户入住状态的dto
     *
     * @author lichen
     * @date 2023/7/20
     */
    @Data
    public class ConfirmDTO {

        /**
         * CRS.NO
         */
        @Length(max = 60, message = "The crsNumber is limited 60 characters")
        @NotBlank(message = "The crsNumber cannot be blank")
        private String crsNumber;

        /**
         * 客人入住状态
         */
        @NotNull(message = "The status cannot be null")
        @Range(min = 1, max = 4, message = "The status must between 1 ~ 4 (1:checked-in 2:no-show 3:cancelled 4:early check-out)")
        private Integer status;

        /**
         * 备注
         */
        @Length(max = 1000, message = "The comment is limited 1000 characters")
        private String comment;

        /**
         * 入住日期（yyyyMMdd）
         */
        @Null(message = "The date must be null")
        private Integer date;

        /**
         * 资产id
         */
        @Null(message = "The propertyId must be null")
        private Integer propertyId;

        /**
         * 确认人
         */
        @Null(message = "The confirmUserId must be null")
        private Integer confirmUserId;

    }