Addressee.cs 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. using GxPress.EnumConst;
  2. using Datory.Annotations;
  3. namespace GxPress.Entity
  4. {
  5. /// <summary>
  6. /// 通知收件人
  7. /// </summary>
  8. [DataTable("tede_addressee")]
  9. public class Addressee : Datory.Entity
  10. {
  11. /// <summary>
  12. /// 来源ID
  13. /// </summary>
  14. [DataColumn]
  15. public int SourceId { get; set; }
  16. /// <summary>
  17. /// 来源类型
  18. /// </summary>
  19. [DataColumn]
  20. public int SourceType { get; set; }
  21. /// <summary>
  22. /// 收件人
  23. /// </summary>
  24. [DataColumn]
  25. public int UserId { get; set; }
  26. /// <summary>
  27. /// 收件人姓名
  28. /// </summary>
  29. [DataColumn]
  30. public string UserName { get; set; }
  31. /// <summary>
  32. /// 是否阅读
  33. /// </summary>
  34. [DataColumn]
  35. public bool IsRead { get; set; }
  36. /// <summary>
  37. /// 手机人状态 1 接收 2 草稿
  38. /// </summary>
  39. [DataColumn]
  40. public NoticeTypeConst NoticeAddresseeType { get; set; }
  41. /// <summary>
  42. /// 是否置顶
  43. /// </summary>
  44. [DataColumn]
  45. public bool IsTop { get; set; }
  46. /// <summary>
  47. /// 是否管理员
  48. /// </summary>
  49. [DataColumn]
  50. public bool IsAdmin { get; set; }
  51. /// <summary>
  52. /// 是否删除
  53. /// </summary>
  54. [DataColumn]
  55. public bool IsDelete { get; set; }
  56. }
  57. }