CeErpSupplierProductTime.cs 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. using Castle.ActiveRecord;
  2. using System;
  3. using NHibernate.Criterion;
  4. namespace BizCom
  5. {
  6. [ActiveRecord("CE_ErpSupplierProductTime")]
  7. public class CeErpSupplierProductTime : ComBase<CeErpSupplierProductTime>
  8. {
  9. /// <summary>
  10. /// ID
  11. /// </summary>
  12. [PrimaryKey(PrimaryKeyType.Native)]
  13. public int ID { get; set; }
  14. private int _supplierId = 0;
  15. /// <summary>
  16. /// 车间id
  17. /// </summary>
  18. [Property]
  19. public int supplierId
  20. {
  21. get { return _supplierId; }
  22. set { _supplierId = value; }
  23. }
  24. private string _productId = "";
  25. /// <summary>
  26. /// 产品id
  27. /// </summary>
  28. [Property]
  29. public string productId
  30. {
  31. get { return _productId; }
  32. set { _productId = value; }
  33. }
  34. private int _quantity = 0;
  35. /// <summary>
  36. /// 数量
  37. /// </summary>
  38. [Property]
  39. public int quantity
  40. {
  41. get { return _quantity; }
  42. set { _quantity = value; }
  43. }
  44. private string _deadLine = "00:00";
  45. /// <summary>
  46. /// 截稿时间
  47. /// </summary>
  48. [Property]
  49. public string deadLine
  50. {
  51. get { return _deadLine; }
  52. set { _deadLine = value; }
  53. }
  54. private int _sendDay = 0;
  55. /// <summary>
  56. /// 发货时间
  57. /// </summary>
  58. [Property]
  59. public int sendDay
  60. {
  61. get { return _sendDay; }
  62. set { _sendDay = value; }
  63. }
  64. private string _dayDeadLine = "00:00";
  65. /// <summary>
  66. /// 当日截稿时间设置0不用当日发货
  67. /// </summary>
  68. [Property]
  69. public string dayDeadLine
  70. {
  71. get { return _dayDeadLine; }
  72. set { _dayDeadLine = value; }
  73. }
  74. private string _craft = "";
  75. /// <summary>
  76. /// 工艺
  77. /// </summary>
  78. [Property]
  79. public string craft
  80. {
  81. get { return _craft; }
  82. set { _craft = value; }
  83. }
  84. private string _supplierName = "";
  85. /// <summary>
  86. /// 车间名称
  87. /// </summary>
  88. [Property]
  89. public string supplierName
  90. {
  91. get { return _supplierName; }
  92. set { _supplierName = value; }
  93. }
  94. private string _productName = "";
  95. /// <summary>
  96. /// 品类名称
  97. /// </summary>
  98. [Property]
  99. public string productName
  100. {
  101. get { return _productName; }
  102. set { _productName = value; }
  103. }
  104. }
  105. }