# ShiftGuestComplaintDTO.java

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

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

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

    /**
     * Guest Complaint 信息类
     *
     * @author lichen
     * @date 2023/3/11
     */
    @Data
    public class ShiftGuestComplaintDTO {

        /**
         * 主键id，为空时表示新增
         */
        private Integer id;

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

        /**
         * 房间标识
         */
        @NotBlank(message = "room can not be blank")
        @Length(max = 30, message = "the name max length is 30")
        private String room;
        /**
         * 客人提出的问题
         */
        @NotBlank(message = "issues can not be blank")
        private String question;
        /**
         * 答案、决议
         */
        @NotNull(message = "answer can not be null")
        private String answer;

    }