using System.ComponentModel.DataAnnotations; using Abp.Domain.Entities.Auditing; namespace IwbZero.Authorization.Base.SystemInfo { public class SysHelpBase : FullAuditedEntity { public const int ClassificationMaxLength = 40; public const int HelpTitleMaxLength = 50; public const int HelpKeyWordsMaxLength = 50; public const int HelpContentWordsMaxLength = int.MaxValue; public const int RemarkMaxLength = 1000; /// /// 分类 /// [StringLength(ClassificationMaxLength)] public string Classification { get; set; } [Required] [StringLength(HelpTitleMaxLength)] public string HelpTitle { get; set; } /// /// 关键字 /// [StringLength(HelpKeyWordsMaxLength)] public string HelpKeyWords { get; set; } /// /// 内容 /// [StringLength(HelpContentWordsMaxLength)] public string HelpContent { get; set; } /// /// 菜单编码(预留) /// [StringLength(SysFunctionBase.FunctionNoMaxLength)] public string FunctionNo { get; set; } /// /// 菜单权限ID(预留) /// [StringLength(SysFunctionBase.PermissionNameMaxLength)] public string PermissionName { get; set; } public int Sequence { get; set; } public string Description { get; set; } [StringLength(RemarkMaxLength)] public string Remark { get; set; } } }