package com.ruoyi.xq.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 聊天记录对象 xq_user_chat_record
 *
 * @author 77
 * @date 2024-03-26
 */
@Data
@TableName("xq_user_chat_record")
public class UserChatRecord implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     *
     */
    @TableId(value = "id")
    private Long id;
    /**
     *
     */
    private Long traceId;
    /**
     *
     */
    private Long fromUid;
    /**
     *
     */
    private String fromUsercode;
    /**
     *
     */
    private Long toUid;
    /**
     *
     */
    private String toUsercode;
    /**
     *
     */
    private String content;
    /**
     * 消息类型
     */
    private Integer type;
    /**
     * 图片下载状态:0=未更新,1=已更新,2=已下载,3=下载失败
     */
    private Integer imgStatus;

    private LocalDateTime createTime;
    private LocalDateTime updateTime;

}
