SysHelpBase.cs 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. using System.ComponentModel.DataAnnotations;
  2. using Abp.Domain.Entities.Auditing;
  3. namespace IwbZero.Authorization.Base.SystemInfo
  4. {
  5. public class SysHelpBase : FullAuditedEntity<int>
  6. {
  7. public const int ClassificationMaxLength = 40;
  8. public const int HelpTitleMaxLength = 50;
  9. public const int HelpKeyWordsMaxLength = 50;
  10. public const int HelpContentWordsMaxLength = int.MaxValue;
  11. public const int RemarkMaxLength = 1000;
  12. /// <summary>
  13. /// 煦濬
  14. /// </summary>
  15. [StringLength(ClassificationMaxLength)]
  16. public string Classification { get; set; }
  17. [Required]
  18. [StringLength(HelpTitleMaxLength)]
  19. public string HelpTitle { get; set; }
  20. /// <summary>
  21. /// 壽瑩趼
  22. /// </summary>
  23. [StringLength(HelpKeyWordsMaxLength)]
  24. public string HelpKeyWords { get; set; }
  25. /// <summary>
  26. /// 囀⺍
  27. /// </summary>
  28. [StringLength(HelpContentWordsMaxLength)]
  29. public string HelpContent { get; set; }
  30. /// <summary>
  31. /// 粕等晤鎢ㄗ啎隱ㄘ
  32. /// </summary>
  33. [StringLength(SysFunctionBase.FunctionNoMaxLength)]
  34. public string FunctionNo { get; set; }
  35. /// <summary>
  36. /// 粕等�癹IDㄗ啎隱ㄘ
  37. /// </summary>
  38. [StringLength(SysFunctionBase.PermissionNameMaxLength)]
  39. public string PermissionName { get; set; }
  40. public int Sequence { get; set; }
  41. public string Description { get; set; }
  42. [StringLength(RemarkMaxLength)]
  43. public string Remark { get; set; }
  44. }
  45. }