package com.qnfhq.modules.c2c.entity;

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

import java.io.Serializable;
import java.util.Date;

/**
 * 聊天消息表
 *
 * @author yelz 30262728@qq.com
 * @since 1.0.0 2025-11-25
 */
@Data
@TableName("c2c_msg_content")
public class C2cMsgContentEntity implements Serializable {
    private static final long serialVersionUID = 1L;


    @TableId(type = IdType.AUTO)
	private Long mid;
    /**
     * 
     */
	private Long senderId;
    /**
     * 
     */
	private Long recipientId;
    /**
     * 消息内容
     */
	private String content;
    /**
     * 消息类型: text 文本, image 图片, voice 语音, video 视频, location位置, c2corder订单
     */
	private String msgType;
    /**
     * 0已发送 1已送达 2已读 3已撤回
     */
	private Integer status;
    /**
     * 
     */
	private Date sendTime;
}