shgx_tz_mom/ZR.Model/System/SysNotice.cs

39 lines
1.3 KiB
C#
Raw Normal View History

2022-03-06 14:26:05 +08:00
namespace ZR.Model.System
2021-12-15 16:12:22 +08:00
{
/// <summary>
2023-06-07 22:28:06 +08:00
/// 通知公告表
2021-12-15 16:12:22 +08:00
///
/// @author zr
/// @date 2021-12-15
/// </summary>
2023-06-07 22:28:06 +08:00
[SugarTable("sys_notice", "通知公告表")]
2021-12-15 16:12:22 +08:00
[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>
2023-06-07 22:28:06 +08:00
[SugarColumn(ColumnName = "notice_title", ExtendedAttribute = ProteryConstant.NOTNULL)]
2021-12-15 16:12:22 +08:00
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>
2023-06-07 22:28:06 +08:00
[SugarColumn(ColumnName = "notice_type", ExtendedAttribute = ProteryConstant.NOTNULL)]
2024-06-07 11:04:26 +08:00
public char 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", ColumnDataType = StaticConfig.CodeFirst_BigString)]
2021-12-15 16:12:22 +08:00
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-07 22:28:06 +08:00
[SugarColumn(DefaultValue = "0", ExtendedAttribute = ProteryConstant.NOTNULL)]
2023-07-26 14:15:47 +08:00
public char Status { get; set; }
2021-12-15 16:12:22 +08:00
}
}