# Logbook.java

    package cloud.wconnect.frontoffice.entity.logbook;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableField;
    import com.baomidou.mybatisplus.annotation.TableId;
    import com.baomidou.mybatisplus.annotation.TableName;
    import lombok.Data;
    import lombok.EqualsAndHashCode;
    import lombok.experimental.Accessors;

    import java.io.Serializable;

    /**
     * <p>
     * Logbook
     * </p>
     *
     * @author yyt
     * @since 2023-03-18
     */
    @Data
    @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    @TableName("logbook_v2")
    public class Logbook implements Serializable {

        private static final long serialVersionUID = 1L;

        @TableId(value = "id", type = IdType.AUTO)
        private Integer id;

        /**
         * 资产id
         */
        private Integer propertyId;

        /**
         * 优先级
         */
        private Integer priority;

        /**
         * 分类
         */
        private Integer category;

        /**
         * 客户心情
         */
        private Integer mood;

        /**
         * 状态：0未解决，1已解决
         */
        private Boolean status;

        /**
         * 评论总数
         */
        private Integer commentCount;

        /**
         * 创建人id
         */
        private Integer createId;

        /**
         * 完成人id
         */
        private Integer complateId;

        /**
         * 创建时间
         */
        private Long createTime;

        /**
         * 完成时间
         */
        private Long complateTime;

        /**
         * 房间号
         */
        private String room;

        /**
         * 客户名称
         */
        private String customer;

        /**
         * 内容
         */
        private String content;

        /**
         * 0:未读  1：已读
         */
        private Integer readStatus;

        /**
         * checkin时间
         */
        private Long checkinDate;

        /**
         * logbook 备注
         */
        @TableField(exist = false)
        private LogbookComment comment;

    }