You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

67 lines
1.4 KiB

using SqlSugar;
namespace Entity.DbModel;
/// <summary>
/// </summary>
[SugarTable("sys_message")]
public class sysMessage
{
/// <summary>
/// Desc:
/// Default:
/// Nullable:False
/// </summary>
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public int ID { get; set; }
/// <summary>
/// Desc:消息标题
/// Default:
/// Nullable:True
/// </summary>
public string Title { get; set; }
/// <summary>
/// Desc:消息内容
/// Default:
/// Nullable:True
/// </summary>
public string Content { get; set; }
/// <summary>
/// Desc:发送人
/// Default:
/// Nullable:True
/// </summary>
[SugarColumn(ColumnName = "from_user_id")]
public int? FromUserID { get; set; }
/// <summary>
/// Desc:接收人
/// Default:
/// Nullable:True
/// </summary>
public int? ToUserID { get; set; }
/// <summary>
/// Desc:是否发送
/// Default:
/// Nullable:True
/// </summary>
public bool? IsSend { get; set; }
/// <summary>
/// Desc:创建时间
/// Default:
/// Nullable:True
/// </summary>
public DateTime? CreateTime { get; set; }
/// <summary>
/// Desc:发送时间
/// Default:
/// Nullable:True
/// </summary>
public DateTime? SendTime { get; set; }
}