CeErpDesignerFinishRateNew.cs 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. using Castle.ActiveRecord;
  2. using System;
  3. using System.Text;
  4. namespace BizCom
  5. {
  6. [ActiveRecord("Ce_ErpDesignerFinishRateNew")]
  7. public class CeErpDesignerFinishRateNew : ComBase<CeErpDesignerFinishRateNew>
  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 _orgid = 0;
  45. /// <summary>
  46. ///
  47. /// </summary>
  48. [Property]
  49. public int orgid
  50. {
  51. get { return _orgid; }
  52. set { _orgid = value; }
  53. }
  54. private string _name = "";
  55. /// <summary>
  56. ///
  57. /// </summary>
  58. [Property]
  59. public string name
  60. {
  61. get { return _name; }
  62. set { _name = value; }
  63. }
  64. private int _FinalizationRate = 0;
  65. /// <summary>
  66. ///
  67. /// </summary>
  68. [Property]
  69. public int FinalizationRate
  70. {
  71. get { return _FinalizationRate; }
  72. set { _FinalizationRate = value; }
  73. }
  74. private int _FinalizationRate2 = 0;
  75. /// <summary>
  76. ///
  77. /// </summary>
  78. [Property]
  79. public int FinalizationRate2
  80. {
  81. get { return _FinalizationRate2; }
  82. set { _FinalizationRate2 = value; }
  83. }
  84. private int _afterSaleSum = 0;
  85. /// <summary>
  86. ///
  87. /// </summary>
  88. [Property]
  89. public int afterSaleSum
  90. {
  91. get { return _afterSaleSum; }
  92. set { _afterSaleSum = value; }
  93. }
  94. private int _resolutionSum = 0;
  95. /// <summary>
  96. ///
  97. /// </summary>
  98. [Property]
  99. public int resolutionSum
  100. {
  101. get { return _resolutionSum; }
  102. set { _resolutionSum = value; }
  103. }
  104. private int _splitSum = 0;
  105. /// <summary>
  106. ///
  107. /// </summary>
  108. [Property]
  109. public int splitSum
  110. {
  111. get { return _splitSum; }
  112. set { _splitSum = value; }
  113. }
  114. private int _csplitum = 0;
  115. /// <summary>
  116. ///
  117. /// </summary>
  118. [Property]
  119. public int refund
  120. {
  121. get { return _refund; }
  122. set { _refund = value; }
  123. }
  124. private int _refund = 0;
  125. private string _onRefund = "";
  126. /// <summary>
  127. ///
  128. /// </summary>
  129. [Property]
  130. public string onRefund
  131. {
  132. get { return _onRefund; }
  133. set { _onRefund = value; }
  134. }
  135. /// <summary>
  136. ///
  137. /// </summary>
  138. [Property]
  139. public int csplitum
  140. {
  141. get { return _csplitum; }
  142. set { _csplitum = value; }
  143. }
  144. private int _designFinish = 0;
  145. /// <summary>
  146. ///
  147. /// </summary>
  148. [Property]
  149. public DateTime? Createtime { get; set; }
  150. /// <summary>
  151. ///
  152. /// </summary>
  153. [Property]
  154. public DateTime? ctime { get; set; }
  155. private string _onFinalizationRate = "";
  156. /// <summary>
  157. ///
  158. /// </summary>
  159. [Property]
  160. public string onFinalizationRate
  161. {
  162. get { return _onFinalizationRate; }
  163. set { _onFinalizationRate = value; }
  164. }
  165. //根据日期删除
  166. public static void Del(object id)
  167. {
  168. StringBuilder sql = new StringBuilder();
  169. sql.AppendFormat("delete from Ce_ErpDesignerFinishRateNew where ctime = '" + id + "'");
  170. ExecuteNonQuery(sql.ToString());
  171. }
  172. }
  173. }