using System;
using SqlSugar;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Admin.Core.Model
{
///
///消息队列实体类
///
[Table("SysMessage")]
[SugarTable( "SysMessage", "admin_sqlite")]
public class SysMessage
{
///
/// ID
///
[Key]
[SugarColumn(IsPrimaryKey=true,IsIdentity=true)]
[Required]
public int ID { get; set; }
///
/// 模块标识
///
public string ModelCode { get; set; }
///
/// 模块ID
///
public string ModelID { get; set; }
///
/// 消息标题
///
public string Title { get; set; }
///
/// 消息内容
///
public string Context { get; set; }
///
/// 状态(1已读 0未读)
///
public string Status { get; set; }
///
/// 用户ID
///
public int? UserID { get; set; }
///
/// 备注
///
public string Remark { get; set; }
///
/// 创建者
///
public string CreateBy { get; set; }
///
/// 创建时间
///
public DateTime? CreateTime { get; set; }
///
/// 更新者
///
public string UpdateBy { get; set; }
///
/// 更新时间
///
public DateTime? UpdateTime { get; set; }
}
}