You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using System;
|
|
|
|
|
using SqlSugar;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
|
namespace Admin.Core.Model
|
|
|
|
|
{
|
|
|
|
|
///<summary>
|
|
|
|
|
///通知公告表实体类
|
|
|
|
|
///</summary>
|
|
|
|
|
[Table("SysNotice")]
|
|
|
|
|
[SugarTable( "SysNotice", "admin_sqlite")]
|
|
|
|
|
public class SysNotice
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 公告ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
[Key]
|
|
|
|
|
[SugarColumn(IsPrimaryKey=true,IsIdentity=true)]
|
|
|
|
|
[Required]
|
|
|
|
|
public int NoticeID { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 公告标题
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string NoticeTitle { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 公告类型(1通知 2公告)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? NoticeType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 公告内容
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string NoticeContent { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 公告状态(0正常 1关闭)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int? Status { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 备注
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Remark { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建者
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CreateBy { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 创建时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime? CreateTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 更新者
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string UpdateBy { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 更新时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public DateTime? UpdateTime { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|