Files
tnb.server/message/Tnb.Message.Entitys/Entity/IMContentEntity.cs
2024-04-23 10:16:16 +08:00

68 lines
1.7 KiB
C#
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using JNPF.Common.Contracts;
using SqlSugar;
namespace JNPF.Message.Entitys;
/// <summary>
/// 在线聊天
/// 版 本V3.2
/// 版 权拓通智联科技有限公司http://www.tuotong-tech.com
/// 日 期2021-06-01.
/// </summary>
[SugarTable("BASE_IMCONTENT")]
public class IMContentEntity : EntityBase<string>
{
/// <summary>
/// 发送者.
/// </summary>
/// <returns></returns>
[SugarColumn(ColumnName = "F_SENDUSERID")]
public string SendUserId { get; set; }
/// <summary>
/// 发送时间.
/// </summary>
/// <returns></returns>
[SugarColumn(ColumnName = "F_SENDTIME")]
public DateTime? SendTime { get; set; }
/// <summary>
 /// 接收者.
 /// </summary>
 /// <returns></returns>
[SugarColumn(ColumnName = "F_RECEIVEUSERID")]
public string ReceiveUserId { get; set; }
/// <summary>
/// 接收时间.
/// </summary>
/// <returns></returns>
[SugarColumn(ColumnName = "F_RECEIVETIME")]
public DateTime? ReceiveTime { get; set; }
/// <summary>
/// 内容.
/// </summary>
/// <returns></returns>
[SugarColumn(ColumnName = "F_CONTENT")]
public string Content { get; set; }
/// <summary>
/// 内容类型text、img、file.
/// </summary>
[SugarColumn(ColumnName = "F_CONTENTTYPE")]
public string ContentType { get; set; }
/// <summary>
/// 状态0:未读、1已读.
/// </summary>
/// <returns></returns>
[SugarColumn(ColumnName = "F_STATE")]
public int? State { get; set; }
/// <summary>
/// 删除人.
/// </summary>
[SugarColumn(ColumnName = "F_SENDDELETEMARK")]
public string SendDeleteMark { get; set; }
}