/***********************************************************************
* Project: baifenBinfa
* ProjectName: 百分兵法管理系统
* Web: http://chuanyin.com
* Author:
* Email: 34161541@qq.com
* CreateTime: 2024-03-01 22:14:58
* Description: 暂无
***********************************************************************/
using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace CoreCms.Net.Model.Entities
{
///
/// 公告表
///
[SugarTable("CoreCmsNotice",TableDescription = "公告表")]
public partial class CoreCmsNotice
{
///
/// 公告表
///
public CoreCmsNotice()
{
}
///
/// 序列
///
[Display(Name = "序列")]
[SugarColumn(ColumnDescription = "序列", IsPrimaryKey = true, IsIdentity = true)]
[Required(ErrorMessage = "请输入{0}")]
public System.Int32 id { get; set; }
///
/// 公告标题
///
[Display(Name = "公告标题")]
[SugarColumn(ColumnDescription = "公告标题")]
[Required(ErrorMessage = "请输入{0}")]
[StringLength(200, ErrorMessage = "【{0}】不能超过{1}字符长度")]
public System.String title { get; set; }
///
/// 公告内容
///
[Display(Name = "公告内容")]
[SugarColumn(ColumnDescription = "公告内容")]
[Required(ErrorMessage = "请输入{0}")]
public System.String contentBody { get; set; }
///
/// 公告类型
///
[Display(Name = "公告类型")]
[SugarColumn(ColumnDescription = "公告类型", IsNullable = true)]
public System.Int32? type { get; set; }
///
/// 排序
///
[Display(Name = "排序")]
[SugarColumn(ColumnDescription = "排序", IsNullable = true)]
public System.Int32? sort { get; set; }
///
/// 软删除位 有时间代表已删除
///
[Display(Name = "软删除位 有时间代表已删除")]
[SugarColumn(ColumnDescription = "软删除位 有时间代表已删除", IsNullable = true)]
public System.Boolean? isDel { get; set; }
///
/// 创建时间
///
[Display(Name = "创建时间")]
[SugarColumn(ColumnDescription = "创建时间", IsNullable = true)]
public System.DateTime? createTime { get; set; }
}
}