2021-12-15 16:12:22 +08:00
|
|
|
using SqlSugar;
|
|
|
|
|
|
2022-03-06 14:26:05 +08:00
|
|
|
namespace ZR.Model.System
|
2021-12-15 16:12:22 +08:00
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 通知公告表,数据实体对象
|
|
|
|
|
///
|
|
|
|
|
/// @author zr
|
|
|
|
|
/// @date 2021-12-15
|
|
|
|
|
/// </summary>
|
|
|
|
|
[SugarTable("sys_notice")]
|
|
|
|
|
[Tenant(0)]
|
|
|
|
|
public class SysNotice : SysBase
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2023-05-04 18:20:18 +08:00
|
|
|
/// 公告ID
|
2021-12-15 16:12:22 +08:00
|
|
|
/// </summary>
|
2022-03-06 14:26:05 +08:00
|
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "notice_id")]
|
2021-12-15 16:12:22 +08:00
|
|
|
public int NoticeId { get; set; }
|
|
|
|
|
/// <summary>
|
2023-05-04 18:20:18 +08:00
|
|
|
/// 公告标题
|
2021-12-15 16:12:22 +08:00
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "notice_title")]
|
|
|
|
|
public string NoticeTitle { get; set; }
|
|
|
|
|
/// <summary>
|
2023-05-04 18:20:18 +08:00
|
|
|
/// 公告类型 (1通知 2公告)
|
2021-12-15 16:12:22 +08:00
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "notice_type")]
|
2023-06-01 15:06:41 +08:00
|
|
|
public int NoticeType { get; set; }
|
2021-12-15 16:12:22 +08:00
|
|
|
/// <summary>
|
2023-05-04 18:20:18 +08:00
|
|
|
/// 公告内容
|
2021-12-15 16:12:22 +08:00
|
|
|
/// </summary>
|
|
|
|
|
[SugarColumn(ColumnName = "notice_content")]
|
|
|
|
|
public string NoticeContent { get; set; }
|
|
|
|
|
/// <summary>
|
2023-05-04 18:20:18 +08:00
|
|
|
/// 公告状态 (0正常 1关闭)
|
2021-12-15 16:12:22 +08:00
|
|
|
/// </summary>
|
2023-06-01 15:06:41 +08:00
|
|
|
public int Status { get; set; }
|
2021-12-15 16:12:22 +08:00
|
|
|
}
|
|
|
|
|
}
|