CeErpMessageTip.cs 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. using Castle.ActiveRecord;
  2. using System;
  3. using System.Text;
  4. using NHibernate.Criterion;
  5. namespace BizCom
  6. {
  7. [ActiveRecord("CE_ErpMessageTip")]
  8. public class CeErpMessageTip : ComBase<CeErpMessageTip>
  9. {
  10. [PrimaryKey(PrimaryKeyType.Native)]
  11. public int ID { get; set; }
  12. private string _tid = "";
  13. /// <summary>
  14. ///交易编号
  15. /// </summary>
  16. [Property]
  17. public string tid
  18. {
  19. get { return _tid; }
  20. set { _tid = value; }
  21. }
  22. private int _type = 0;
  23. [Property]
  24. public int type
  25. {
  26. get { return _type; }
  27. set { _type = value; }
  28. }
  29. //用户id
  30. private int _userId = 0;
  31. [Property]
  32. public int userId
  33. {
  34. get { return _userId; }
  35. set { _userId = value; }
  36. }
  37. private int _sectionId = 0;
  38. [Property]
  39. public int sectionId
  40. {
  41. get { return _sectionId; }
  42. set { _sectionId = value; }
  43. }
  44. //是否已读
  45. private Boolean _isVisit = false;
  46. [Property]
  47. public Boolean isVisit
  48. {
  49. get { return _isVisit; }
  50. set { _isVisit = value; }
  51. }
  52. //通知内容
  53. private string _content = "";
  54. [Property]
  55. public string content
  56. {
  57. get { return _content; }
  58. set { _content = value; }
  59. }
  60. }
  61. }