using System; using SqlSugar; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace Admin.Core.Model { /// ///通知公告表实体类 /// [Table("SysNotice")] [SugarTable( "SysNotice", "admin_sqlite")] public class SysNotice { /// /// 公告ID /// [Key] [SugarColumn(IsPrimaryKey=true,IsIdentity=true)] [Required] public int NoticeID { get; set; } /// /// 公告标题 /// public string NoticeTitle { get; set; } /// /// 公告类型(1通知 2公告) /// public int? NoticeType { get; set; } /// /// 公告内容 /// public string NoticeContent { get; set; } /// /// 公告状态(0正常 1关闭) /// public int? Status { 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; } } }