package com.luojia_channel.modules.message.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.time.LocalDateTime;

/**
 * 消息实体类
 */
@Data
@TableName("message")
public class MessageDO {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Integer messageType; // 0-私聊, 1-系统消息
    private String content;
    private Long senderId;
    private Long receiverId;
    private LocalDateTime createTime;
}
