CeErpTradeAfterSaleExtend.cs 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234
  1. using Castle.ActiveRecord;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using NHibernate.Criterion;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace BizCom
  9. {
  10. [ActiveRecord("Ce_ErpTradeAfterSaleExtend")]
  11. public class CeErpTradeAfterSaleExtend : ComBase<CeErpTradeAfterSaleExtend>
  12. {
  13. /// <summary>
  14. ///
  15. /// </summary>
  16. [PrimaryKey(PrimaryKeyType.Native)]
  17. public int ID { get; set; }
  18. private string _tid = "";
  19. /// <summary>
  20. ///
  21. /// </summary>
  22. [Property]
  23. public string tid
  24. {
  25. get { return _tid; }
  26. set { _tid = value; }
  27. }
  28. //责任人扣款逗号分开
  29. private string _RefundFees = "";
  30. [Property]
  31. public string RefundFees
  32. {
  33. get { return _RefundFees; }
  34. set { _RefundFees = value; }
  35. }
  36. private string _afterSaleBackImg = "";
  37. /// <summary>
  38. ///售后处理退回图片
  39. /// </summary>
  40. [Property]
  41. public string AfterSaleBackImg
  42. {
  43. get { return _afterSaleBackImg; }
  44. set { _afterSaleBackImg = value; }
  45. }
  46. private int _isComplain = 0;
  47. /// <summary>
  48. ///是否投诉单
  49. /// </summary>
  50. [Property]
  51. public int IsComplain
  52. {
  53. get { return _isComplain; }
  54. set { _isComplain = value; }
  55. }
  56. private int _isBad = 0;
  57. /// <summary>
  58. ///是否差评
  59. /// </summary>
  60. [Property]
  61. public int IsBad
  62. {
  63. get { return _isBad; }
  64. set { _isBad = value; }
  65. }
  66. private int _afterSalSend = 0;
  67. /// <summary>
  68. ///售后单发货
  69. /// </summary>
  70. [Property]
  71. public int AfterSalSend
  72. {
  73. get { return _afterSalSend; }
  74. set { _afterSalSend = value; }
  75. }
  76. private string _expressNo = "";
  77. /// <summary>
  78. ///售后单发货
  79. /// </summary>
  80. [Property]
  81. public string ExpressNo
  82. {
  83. get { return _expressNo; }
  84. set { _expressNo = value; }
  85. }
  86. private string _verifyStates = "";
  87. /// <summary>
  88. ///售后单状态 0主管审核1认可完成2拒绝3个人审核4自动完成5强制完成
  89. /// </summary>
  90. [Property]
  91. public string VerifyStates
  92. {
  93. get { return _verifyStates; }
  94. set { _verifyStates = value; }
  95. }
  96. private bool _isOriginal = false;
  97. [Property]
  98. public bool IsOriginal
  99. {
  100. get { return _isOriginal; }
  101. set { _isOriginal = value; }
  102. }
  103. /// <summary>
  104. /// 客戶售后结果
  105. /// </summary>
  106. private string _textResult;
  107. [Property]
  108. public string TextResult
  109. {
  110. get { return _textResult; }
  111. set { _textResult = value; }
  112. }
  113. /// <summary>
  114. /// 客戶售后差价
  115. /// </summary>
  116. private double _diffResultPrice;
  117. [Property]
  118. public double diffResultPrice
  119. {
  120. get { return _diffResultPrice; }
  121. set { _diffResultPrice = value; }
  122. }
  123. /// <summary>
  124. /// 是否修改责任金额
  125. /// </summary>
  126. private string _diffPhysical;
  127. [Property]
  128. public string diffPhysical
  129. {
  130. get { return _diffPhysical; }
  131. set { _diffPhysical = value; }
  132. }
  133. /// <summary>
  134. /// 供应商售后理由
  135. /// </summary>
  136. private string _supplierResponsible = "";
  137. [Property]
  138. public string supplierResponsible
  139. {
  140. get { return _supplierResponsible; }
  141. set { _supplierResponsible = value; }
  142. }
  143. private int _changeNum = 0;
  144. /// <summary>
  145. /// 修改次数
  146. /// </summary>
  147. [Property]
  148. public int ChangeNum
  149. {
  150. get { return _changeNum; }
  151. set { _changeNum = value; }
  152. }
  153. /// <summary>
  154. /// 不认可时间
  155. /// </summary>
  156. [Property]
  157. public DateTime? DisagreeTime { get; set; }
  158. public int _disagreeTimeOut = 0;
  159. /// <summary>
  160. /// 不认可超时次数
  161. /// </summary>
  162. [Property]
  163. public int DisagreeTimeOut
  164. {
  165. get { return _disagreeTimeOut; }
  166. set { _disagreeTimeOut = value; }
  167. }
  168. private int _reprintOut = 0;
  169. /// <summary>
  170. /// 重印超时次数
  171. /// </summary>
  172. [Property]
  173. public int ReprintOut
  174. {
  175. get { return _reprintOut; }
  176. set { _reprintOut = value; }
  177. }
  178. private int _preTimeOut = 0;
  179. /// <summary>
  180. /// 预完成超时次数
  181. /// </summary>
  182. [Property]
  183. public int PreTimeOut
  184. {
  185. get { return _preTimeOut; }
  186. set { _preTimeOut = value; }
  187. }
  188. private string _issueContent = "";
  189. /// <summary>
  190. /// 反馈问题
  191. /// </summary>
  192. [Property]
  193. public string IssueContent
  194. {
  195. get { return _issueContent; }
  196. set { _issueContent = value; }
  197. }
  198. private int _issueState = 0;
  199. /// <summary>
  200. /// 反馈状态 1提交 2完成
  201. /// </summary>
  202. [Property]
  203. public int IssueState
  204. {
  205. get { return _issueState; }
  206. set { _issueState = value; }
  207. }
  208. public static CeErpTradeAfterSaleExtend getByTid(string tid)
  209. {
  210. return FindFirst(Expression.Sql(string.Format("tid='{0}'", tid)));
  211. }
  212. }
  213. }