using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
using MySqlX.XDevAPI.Relational;
using Datory;
using Datory.Annotations;
namespace GxPress.Entity
{
///
/// 信源聊天记录
///
[DataTable("tede_chat_record")]
public class ChatRecord : Datory.Entity
{
///
/// 发送人ID
///
[DataColumn]
public int SendUserId { get; set; }
///
/// 接收人ID或者群ID
///
[DataColumn]
public string ReceiveUserId { get; set; }
///
/// 聊天内容
///
[DataColumn]
public string Content { get; set; }
///
/// 聊天类型 1 单聊 2 群聊
///
[DataColumn]
public int ChatType { get; set; }
///
/// 消息类型(1 文本 2 图片 3 文件 4 视频 5语音)
///
[DataColumn]
public int MsgType { get; set; }
///
/// 文件路径
///
[DataColumn]
public string FileUrl { get; set; }
}
}