SysHelp.cs 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. using System.ComponentModel.DataAnnotations.Schema;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. using Abp.Domain.Entities;
  9. namespace ShwasherSys.BaseSysInfo
  10. {
  11. [Table("Sys_Helps")]
  12. public class SysHelp:Entity<int>
  13. {
  14. public const int ClassificationMaxLength = 40;
  15. public const int HelpTitleMaxLength = 20;
  16. public const int HelpKeyWordsMaxLength = 20;
  17. public const int UserIDLastModMaxLength = 20;
  18. //[Required]
  19. /// <summary>
  20. /// 分类
  21. /// </summary>
  22. [StringLength(ClassificationMaxLength)]
  23. public string Classification { get; set; }
  24. [Required]
  25. [StringLength(HelpTitleMaxLength)]
  26. public string HelpTitle { get; set; }
  27. /// <summary>
  28. /// 关键字
  29. /// </summary>
  30. [StringLength(HelpKeyWordsMaxLength)]
  31. public string HelpKeyWords { get; set; }
  32. /// <summary>
  33. /// 内容
  34. /// </summary>
  35. [Column(TypeName = "ntext")]
  36. public string HelpContent { get; set; }
  37. public int Sequence { get; set; }
  38. [Column(TypeName = "smalldatetime")]
  39. public DateTime? TimeCreated { get; set; }
  40. [Column(TypeName = "smalldatetime")]
  41. public DateTime? TimeLastMod { get; set; }
  42. [StringLength(UserIDLastModMaxLength)]
  43. public string UserIDLastMod { get; set; }
  44. }
  45. }