using System; using System.Collections.Generic; using SqlSugar; using OfficeOpenXml.Attributes; using Newtonsoft.Json; namespace ARW.Model.Models.Business.Advertisement.Notices { /// /// 公告,数据实体对象 /// /// @author lwh /// @date 2023-10-09 /// [SugarTable("tb_notice")] public class Notice : BusinessBase { /// /// 描述 : /// 空值 : false /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "notice_id")] public int NoticeId { get; set; } /// /// 描述 : /// 空值 : false /// [JsonConverter(typeof(ValueToStringConverter))] [SugarColumn(IsPrimaryKey = true, IsIdentity = false, ColumnName = "notice_guid")] public long NoticeGuid { get; set; } /// /// 描述 :标题 /// 空值 : false /// [SugarColumn(ColumnName = "notice_title")] public string NoticeTitle { get; set; } /// /// 描述 :内容 /// 空值 : false /// [SugarColumn(ColumnName = "notice_content")] public string NoticeContent { get; set; } /// /// 描述 :排序 /// 空值 : false /// [SugarColumn(ColumnName = "notice_sort")] public int NoticeSort { get; set; } } }