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