PhoneQuestionInfo.cs 918 B

1234567891011121314151617181920212223242526272829303132333435
  1. using System.ComponentModel.DataAnnotations;
  2. using System.ComponentModel.DataAnnotations.Schema;
  3. using Abp.Domain.Entities.Auditing;
  4. using WeApp.Authorization.Users;
  5. namespace WeApp.BasicInfo
  6. {
  7. [Table("Bs_PhoneQuestions")]
  8. public class PhoneQuestionInfo : FullAuditedEntity<string, User>
  9. {
  10. public const int NameMaxLength = 50;
  11. public const int TagMaxLength = 200;
  12. public const int ContentMaxLength = 200;
  13. /// <summary>
  14. /// 简称
  15. /// </summary>
  16. [MaxLength(NameMaxLength)]
  17. public string Name { get; set; }
  18. /// <summary>
  19. /// 内容
  20. /// </summary>
  21. [MaxLength(ContentMaxLength)]
  22. public string Content { get; set; }
  23. public int Type { get; set; }
  24. /// <summary>
  25. /// 内容
  26. /// </summary>
  27. [MaxLength(TagMaxLength)]
  28. public string Tag { get; set; }
  29. }
  30. }