CeErpDesignerFinishRate.cs 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. using Castle.ActiveRecord;
  2. using System;
  3. using System.Text;
  4. namespace BizCom
  5. {
  6. [ActiveRecord("CE_ErpDesignerFinishRate")]
  7. public class CeErpDesignerFinishRate : ComBase<CeErpDesignerFinishRate>
  8. {
  9. /// <summary>
  10. ///
  11. /// </summary>
  12. [PrimaryKey(PrimaryKeyType.Native)]
  13. public int ID { get; set; }
  14. private int _did = 0;
  15. /// <summary>
  16. ///设计师ID
  17. /// </summary>
  18. [Property]
  19. public int did
  20. {
  21. get { return _did; }
  22. set { _did = value; }
  23. }
  24. private string _amount = "";
  25. /// <summary>
  26. ///当天总金额
  27. /// </summary>
  28. [Property]
  29. public string Amount
  30. {
  31. get { return _amount; }
  32. set { _amount = value; }
  33. }
  34. private int _allOrder = 0;
  35. /// <summary>
  36. ///当天总数量
  37. /// </summary>
  38. [Property]
  39. public int AllOrder
  40. {
  41. get { return _allOrder; }
  42. set { _allOrder = value; }
  43. }
  44. private int _waitDesign = 0;
  45. /// <summary>
  46. ///
  47. /// </summary>
  48. [Property]
  49. public int WaitDesign
  50. {
  51. get { return _waitDesign; }
  52. set { _waitDesign = value; }
  53. }
  54. private int _designing = 0;
  55. /// <summary>
  56. ///
  57. /// </summary>
  58. [Property]
  59. public int Designing
  60. {
  61. get { return _designing; }
  62. set { _designing = value; }
  63. }
  64. private int _designFinish = 0;
  65. /// <summary>
  66. ///
  67. /// </summary>
  68. [Property]
  69. public int DesignFinish
  70. {
  71. get { return _designFinish; }
  72. set { _designFinish = value; }
  73. }
  74. private string _finalizationRate = "";
  75. /// <summary>
  76. ///
  77. /// </summary>
  78. [Property]
  79. public string FinalizationRate
  80. {
  81. get { return _finalizationRate; }
  82. set { _finalizationRate = value; }
  83. }
  84. private string _payPrice = "";
  85. /// <summary>
  86. ///当天奖励金额
  87. /// </summary>
  88. [Property]
  89. public string PayPrice
  90. {
  91. get { return _payPrice; }
  92. set { _payPrice = value; }
  93. }
  94. /// <summary>
  95. ///
  96. /// </summary>
  97. [Property]
  98. public DateTime? CTime { get; set; }
  99. public static void Del(object id)
  100. {
  101. StringBuilder sql = new StringBuilder();
  102. sql.AppendFormat("delete from CE_ErpDesignerFinishRate where id=" + id);
  103. ExecuteNonQuery(sql.ToString());
  104. }
  105. }
  106. }