Grp_CreditCardPayment.cs 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace OASystem.Domain.Entities.Groups
  7. {
  8. /// <summary>
  9. /// 付款信息表
  10. /// </summary>
  11. [SugarTable("Grp_CreditCardPayment")]
  12. public class Grp_CreditCardPayment:EntityBase
  13. {
  14. /// <summary>
  15. /// 团组外键编号
  16. /// </summary>
  17. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  18. public int DIId { get; set; }
  19. /// <summary>
  20. /// 指向表外键编号
  21. /// </summary>
  22. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  23. public int CId { get; set; }
  24. /// <summary>
  25. /// 指向标识 设置数据外键编号
  26. /// </summary>
  27. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  28. public int CTable { get; set; }
  29. /// <summary>
  30. /// 支付方式
  31. /// </summary>
  32. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  33. public int PayDId { get; set; } = 0;
  34. /// <summary>
  35. /// 消费方式
  36. /// </summary>
  37. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(125)")]
  38. public string ConsumptionPatterns { get; set; }
  39. /// <summary>
  40. /// 消费日期
  41. /// </summary>
  42. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(30)")]
  43. public string ConsumptionDate { get; set; }
  44. /// <summary>
  45. /// 卡类型
  46. /// </summary>
  47. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  48. public int CTDId { get; set; }
  49. /// <summary>
  50. /// 银行卡号
  51. /// </summary>
  52. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(125)")]
  53. public string BankNo { get; set; }
  54. /// <summary>
  55. /// 持卡人姓名
  56. /// </summary>
  57. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(125)")]
  58. public string CardholderName { get; set; }
  59. /// <summary>
  60. /// 付款金额
  61. /// </summary>
  62. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10, 2)")]
  63. public decimal PayMoney { get; set; }
  64. /// <summary>
  65. /// 付款币种 数据类型Id
  66. /// </summary>
  67. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  68. public int PaymentCurrency { get; set; }
  69. /// <summary>
  70. /// 当天汇率
  71. /// </summary>
  72. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10,4)")]
  73. public decimal DayRate { get; set; }
  74. /// <summary>
  75. /// 公司银行卡号
  76. /// </summary>
  77. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(125)")]
  78. public string CompanyBankNo { get; set; }
  79. /// <summary>
  80. /// 对方开户行
  81. /// </summary>
  82. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(125)")]
  83. public string OtherBankName { get; set; }
  84. /// <summary>
  85. /// 对方银行账号
  86. /// </summary>
  87. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(125)")]
  88. public string OtherSideNo { get; set; }
  89. /// <summary>
  90. /// 对方姓名
  91. /// </summary>
  92. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(125)")]
  93. public string OtherSideName { get; set; }
  94. /// <summary>
  95. /// 财务操作人 用户Id
  96. /// </summary>
  97. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  98. public int MFOperator { get; set; }
  99. /// <summary>
  100. /// 财务操作时间
  101. /// </summary>
  102. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(30)")]
  103. public string MFOperatorDate { get; set; }
  104. /// <summary>
  105. /// 部门经理是否审核 0否1是
  106. /// </summary>
  107. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  108. public int IsAuditDM { get; set; }
  109. /// <summary>
  110. /// 部门经理审核人 用户Id
  111. /// </summary>
  112. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  113. public int AuditDMOperate { get; set; }
  114. /// <summary>
  115. /// 部门经理审核时间
  116. /// </summary>
  117. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(30)")]
  118. public string AuditDMDate { get; set; }
  119. /// <summary>
  120. /// 财务部是否审核 0否1是
  121. /// </summary>
  122. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  123. public int IsAuditMF { get; set; }
  124. /// <summary>
  125. /// 财务部审核人
  126. /// </summary>
  127. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  128. public int AuditMFOperate { get; set; }
  129. /// <summary>
  130. /// 财务部审核时间
  131. /// </summary>
  132. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(30)")]
  133. public string AuditMFDate { get; set; }
  134. /// <summary>
  135. /// 总经理是否审核 0 未审核 1已通过 2未通过 3 自动审核
  136. /// </summary>
  137. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  138. public int IsAuditGM { get; set; }
  139. /// <summary>
  140. /// 总经理审核人
  141. /// </summary>
  142. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  143. public int AuditGMOperate { get; set; }
  144. /// <summary>
  145. /// 总经理审核时间
  146. /// </summary>
  147. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(30)")]
  148. public string AuditGMDate { get; set; }
  149. /// <summary>
  150. /// 是否付款 0 否 1 是
  151. /// </summary>
  152. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  153. public int IsPay { get; set; }
  154. /// <summary>
  155. /// 此次付款百分比
  156. /// </summary>
  157. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10, 2)")]
  158. public decimal PayPercentage { get; set; } = 100M;
  159. /// <summary>
  160. /// 此次付款金额
  161. /// </summary>
  162. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10, 2)")]
  163. public decimal PayThenMoney { get; set; }
  164. /// <summary>
  165. /// 上次付款百分比
  166. /// </summary>
  167. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10, 2)")]
  168. public decimal PayPercentageOld { get; set; }
  169. /// <summary>
  170. /// 上次付款金额
  171. /// </summary>
  172. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10, 2)")]
  173. public decimal PayThenMoneyOld { get; set; }
  174. /// <summary>
  175. /// 上次付款时间
  176. /// </summary>
  177. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(30)")]
  178. public string UpdateDate { get; set; }
  179. /// <summary>
  180. /// 收款方
  181. /// </summary>
  182. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(255)")]
  183. public string Payee { get; set; }
  184. /// <summary>
  185. /// 人民币费用
  186. /// </summary>
  187. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10, 2)")]
  188. public decimal RMBPrice { get; set; }
  189. /// <summary>
  190. /// 费用标识
  191. /// 0 公转 1 私转
  192. /// </summary>
  193. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  194. public int OrbitalPrivateTransfer { get; set; }
  195. /// <summary>
  196. /// 超出预算比例
  197. /// </summary>
  198. [SugarColumn(IsNullable = true, ColumnDataType = "decimal(10, 2)")]
  199. public decimal ExceedBudget { get; set; }
  200. /// <summary>
  201. /// 是否匹配上了信用卡账单
  202. /// </summary>
  203. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  204. public decimal IsMatchCreditCard { get; set; }
  205. }
  206. }