CeErpPackData.cs 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. using Castle.ActiveRecord;
  2. using NHibernate.Criterion;
  3. using System;
  4. using System.Text;
  5. namespace BizCom
  6. {
  7. [ActiveRecord("CE_ErpPackData")]
  8. public class CeErpPackData : ComBase<CeErpPackData>
  9. {
  10. /// <summary>
  11. ///
  12. /// </summary>
  13. [PrimaryKey(PrimaryKeyType.Native)]
  14. public int ID { get; set; }
  15. private string _fileName = "";
  16. /// <summary>
  17. /// 文件名
  18. /// </summary>
  19. [Property]
  20. public string fileName
  21. {
  22. get { return _fileName; }
  23. set { _fileName = value; }
  24. }
  25. private int _downNum = 0;
  26. /// <summary>
  27. /// 下载次数
  28. /// </summary>
  29. [Property]
  30. public int downNum
  31. {
  32. get { return _downNum; }
  33. set { _downNum = value; }
  34. }
  35. private int _upStatus = 0;
  36. /// <summary>
  37. /// 状态 0待打包 1打包中 2打包完成 3打包失败 4取消
  38. /// </summary>
  39. [Property]
  40. public int upStatus
  41. {
  42. get { return _upStatus; }
  43. set { _upStatus = value; }
  44. }
  45. private string _fileUrl = "";
  46. /// <summary>
  47. /// 文件地址
  48. /// </summary>
  49. [Property]
  50. public string fileUrl
  51. {
  52. get { return _fileUrl; }
  53. set { _fileUrl = value; }
  54. }
  55. private int _supplierId = 0;
  56. /// <summary>
  57. /// 车间ID
  58. /// </summary>
  59. [Property]
  60. public int supplierId
  61. {
  62. get { return _supplierId; }
  63. set { _supplierId = value; }
  64. }
  65. private DateTime _createtime = DateTime.Now;
  66. /// <summary>
  67. /// 创建时间
  68. /// </summary>
  69. [Property]
  70. public DateTime createtime
  71. {
  72. get { return _createtime; }
  73. set { _createtime = value; }
  74. }
  75. private int _createBy = 0;
  76. /// <summary>
  77. /// 创建人
  78. /// </summary>
  79. [Property]
  80. public int createBy
  81. {
  82. get { return _createBy; }
  83. set { _createBy = value; }
  84. }
  85. private string _createName = "";
  86. /// <summary>
  87. /// 创建人
  88. /// </summary>
  89. [Property]
  90. public string createName
  91. {
  92. set { _createName = value; }
  93. get { return _createName; }
  94. }
  95. private string _message = "";
  96. /// <summary>
  97. /// 信息
  98. /// </summary>
  99. [Property]
  100. public string message
  101. {
  102. get { return _message; }
  103. set { _message = value; }
  104. }
  105. }
  106. }