using SqlSugar; using System; using System.ComponentModel.DataAnnotations; namespace HT.Cloud.Domain.ContentManage { /// /// 创 建:超级管理员 /// 日 期:2020-06-09 19:42 /// 描 述:新闻类别实体类 /// [SugarTable("cms_articlecategory")] [TenantAttribute("0")] public class ArticleCategoryEntity : IEntity, ICreationAudited, IModificationAudited, IDeleteAudited { /// /// 主键Id /// /// [SugarColumn(ColumnName = "F_Id", IsPrimaryKey = true, ColumnDescription = "主键Id")] public string F_Id { get; set; } /// /// 类别名称 /// /// [Required(ErrorMessage = "新闻类别名称不能为空")] [SugarColumn(IsNullable = true, ColumnName = "F_FullName", ColumnDataType = "nvarchar(100)", ColumnDescription = "类别名称", UniqueGroupNameList = new string[] { "cms_articlecategory" })] public string F_FullName { get; set; } /// /// 父级Id /// /// [Required(ErrorMessage = "新闻类别父级不能为空")] [SugarColumn(IsNullable = true, ColumnName = "F_ParentId", ColumnDataType = "nvarchar(50)", ColumnDescription = "父级Id")] public string F_ParentId { get; set; } /// /// 排序 /// /// [Required(ErrorMessage = "排序不能为空")] [Range(0, 99999999, ErrorMessage = "排序大小必须介于1~99999999之间")] [SugarColumn(IsNullable = false, ColumnDescription = "排序")] public int? F_SortCode { get; set; } /// /// 描述 /// /// [SugarColumn(IsNullable = true, ColumnName = "F_Description", ColumnDataType = "longtext", ColumnDescription = "描述")] public string F_Description { get; set; } /// /// 链接地址 /// /// [SugarColumn(IsNullable = true, ColumnName = "F_LinkUrl", ColumnDataType = "longtext", ColumnDescription = "链接地址")] public string F_LinkUrl { get; set; } /// /// 图片地址 /// /// [SugarColumn(IsNullable = true, ColumnName = "F_ImgUrl", ColumnDataType = "longtext", ColumnDescription = "图片地址")] public string F_ImgUrl { get; set; } /// /// SEO标题 /// /// [SugarColumn(IsNullable = true, ColumnName = "F_SeoTitle", ColumnDataType = "longtext", ColumnDescription = "SEO标题")] public string F_SeoTitle { get; set; } /// /// SEO关键字 /// /// [SugarColumn(IsNullable = true, ColumnName = "F_SeoKeywords", ColumnDataType = "longtext", ColumnDescription = "SEO关键字")] public string F_SeoKeywords { get; set; } /// /// SEO描述 /// /// [SugarColumn(IsNullable = true, ColumnName = "F_SeoDescription", ColumnDataType = "longtext", ColumnDescription = "SEO描述")] public string F_SeoDescription { get; set; } /// /// 是否热门 /// /// [SugarColumn(IsNullable = true, ColumnDescription = "是否热门")] public bool? F_IsHot { get; set; } /// /// 是否启用 /// /// [SugarColumn(IsNullable = true, ColumnDescription = "是否热门")] public bool? F_EnabledMark { get; set; } /// /// 删除标志 /// /// [SugarColumn(IsNullable = true, ColumnDescription = "删除标志")] public bool? F_DeleteMark { get; set; } /// /// 创建时间 /// /// [SugarColumn(IsNullable = true, ColumnDescription = "创建时间")] public DateTime? F_CreatorTime { get; set; } /// /// 创建人Id /// /// [SugarColumn(IsNullable = true, ColumnName = "F_CreatorUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "创建人Id")] public string F_CreatorUserId { get; set; } /// /// 修改时间 /// /// [SugarColumn(IsNullable = true, ColumnDescription = "修改时间")] public DateTime? F_LastModifyTime { get; set; } /// /// 修改人Id /// /// [SugarColumn(IsNullable = true, ColumnName = "F_LastModifyUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "修改人Id")] public string F_LastModifyUserId { get; set; } /// /// 删除时间 /// /// [SugarColumn(IsNullable = true, ColumnDescription = "删除时间")] public DateTime? F_DeleteTime { get; set; } /// /// 删除人Id /// /// [SugarColumn(IsNullable = true, ColumnName = "F_DeleteUserId", ColumnDataType = "nvarchar(50)", ColumnDescription = "删除人Id")] public string F_DeleteUserId { get; set; } } }