CeErpMessageAPI.cs 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. using Castle.ActiveRecord;
  2. using System;
  3. using System.Text;
  4. using NHibernate.Criterion;
  5. namespace BizCom
  6. {
  7. [ActiveRecord("Ce_ErpMessageAPI")]
  8. public class CeErpMessageAPI : ComBase<CeErpMessageAPI>
  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 string _ctid = "";
  23. /// <summary>
  24. ///交易编号
  25. /// </summary>
  26. [Property]
  27. public string ctid
  28. {
  29. get { return _ctid; }
  30. set { _ctid = value; }
  31. }
  32. //用户id
  33. private int _userId = 0;
  34. [Property]
  35. public int userId
  36. {
  37. get { return _userId; }
  38. set { _userId = value; }
  39. }
  40. //是否成功
  41. private Boolean _isVisit = false;
  42. [Property]
  43. public Boolean isVisit
  44. {
  45. get { return _isVisit; }
  46. set { _isVisit = value; }
  47. }
  48. //是否已经推送
  49. private Boolean _getToApi = false;
  50. [Property]
  51. public Boolean getToApi
  52. {
  53. get { return _getToApi; }
  54. set { _getToApi = value; }
  55. }
  56. /// <summary>
  57. ///发起时间
  58. /// </summary>
  59. [Property]
  60. public DateTime? creationtime { get; set; }
  61. //通知内容
  62. private string _content = "";
  63. [Property]
  64. public string content
  65. {
  66. get { return _content; }
  67. set { _content = value; }
  68. }
  69. }
  70. }