# ShiftDigitalCheckInDTO.java

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

    import jakarta.validation.constraints.NotBlank;
    import jakarta.validation.constraints.NotNull;
    import lombok.Data;
    import org.hibernate.validator.constraints.Length;

    /**
     * Digital Check-in 信息
     *
     * @author lichen
     * @date 2023/3/11
     */
    @Data
    public class ShiftDigitalCheckInDTO {

        /**
         * 主键,等于null时表示新增
         */
        private Integer id;

        /**
         * 客人名称
         */
        @NotBlank(message = "name can not be blank")
        @Length(max = 50, message = "the name max length is 50")
        private String customer;

        /**
         * 入住房间标识
         */
        @NotBlank(message = "room can not be blank")
        @Length(max = 30, message = "the room max length is 30")
        private String room;
        /**
         * 1:yes; 0:no
         */
        @NotNull(message = "concerto can not be null")
        private Boolean concerto;
        /**
         * 1:yes; 0:no
         */
        @NotNull(message = "preKey can not be null")
        private Boolean preKey;
        /**
         * 1:yes; 0:no
         */
        @NotNull(message = "checked in physically can not be null")
        private Boolean physical;

    }