ViewOtherPriceOP.cs 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace Models
  6. {
  7. public class ViewOtherPriceOP
  8. {
  9. string priceName;
  10. /// <summary>
  11. /// 费用名称
  12. /// </summary>
  13. public string PriceName
  14. {
  15. get { return priceName; }
  16. set { priceName = value; }
  17. }
  18. float price;
  19. /// <summary>
  20. /// 费用金额
  21. /// </summary>
  22. public float Price
  23. {
  24. get { return price; }
  25. set { price = value; }
  26. }
  27. string name;
  28. /// <summary>
  29. /// 币种
  30. /// </summary>
  31. public string Name
  32. {
  33. get { return name; }
  34. set { name = value; }
  35. }
  36. float spread;
  37. /// <summary>
  38. /// 费用金额 - RMB
  39. /// </summary>
  40. public float Spread
  41. {
  42. get { return spread; }
  43. set { spread = value; }
  44. }
  45. string dayRate;
  46. /// <summary>
  47. /// 当时汇率
  48. /// </summary>
  49. public string DayRate
  50. {
  51. get { return dayRate; }
  52. set { dayRate = value; }
  53. }
  54. string remark;
  55. /// <summary>
  56. /// 备注
  57. /// </summary>
  58. public string Remark
  59. {
  60. get { return remark; }
  61. set { remark = value; }
  62. }
  63. float rMBPrice;
  64. /// <summary>
  65. /// 人民币金额
  66. /// </summary>
  67. public float RMBPrice
  68. {
  69. get { return rMBPrice; }
  70. set
  71. {
  72. if (value == 0.0)
  73. {
  74. try
  75. {
  76. rMBPrice = Spread * float.Parse(dayRate);
  77. }
  78. catch
  79. {
  80. rMBPrice = 0f;
  81. }
  82. }
  83. else
  84. rMBPrice = value;
  85. }
  86. }
  87. string operatorDate;
  88. /// <summary>
  89. /// 时间
  90. /// </summary>
  91. public string OperatorDate
  92. {
  93. get { return operatorDate; }
  94. set { operatorDate = value; }
  95. }
  96. string isPay;
  97. /// <summary>
  98. /// 付款状态
  99. /// </summary>
  100. public string IsPay
  101. {
  102. get { return isPay; }
  103. set
  104. {
  105. if (value != null && value != "" && value == "0")
  106. isPay = "未付款";
  107. else if (value != null && value != "" && value == "1")
  108. isPay = "已付款";
  109. else
  110. isPay = "未付款";
  111. }
  112. }
  113. string payee;
  114. /// <summary>
  115. /// 收款方
  116. /// </summary>
  117. public string Payee
  118. {
  119. get { return payee; }
  120. set { payee = value; }
  121. }
  122. string orbitalPrivateTransfer;
  123. /// <summary>
  124. /// 费用标识
  125. /// </summary>
  126. public string OrbitalPrivateTransfer
  127. {
  128. get { return orbitalPrivateTransfer; }
  129. set
  130. {
  131. if (value != null && value != "" && value == "0")
  132. orbitalPrivateTransfer = "公转";
  133. else if (value != null && value != "" && value == "1")
  134. orbitalPrivateTransfer = "私转";
  135. else
  136. orbitalPrivateTransfer = "未知";
  137. }
  138. }
  139. string payDid;
  140. /// <summary>
  141. /// 支付方式
  142. /// </summary>
  143. public string PayDid
  144. {
  145. get { return payDid; }
  146. set { payDid = value; }
  147. }
  148. string paydName;
  149. /// <summary>
  150. /// 支付方式(名称)
  151. /// </summary>
  152. public string PaydName
  153. {
  154. get { return paydName; }
  155. set { paydName = value; }
  156. }
  157. string auditGMDate;
  158. public string AuditGMDate
  159. {
  160. get { return auditGMDate; }
  161. set { auditGMDate = value; }
  162. }
  163. string operators;
  164. public string Operator
  165. {
  166. get { return operators; }
  167. set { operators = value;}
  168. }
  169. public int IsMatchCreditCard { get; set; }
  170. }
  171. }