Order.java 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. package com.ym.mec.collectfee.entity;
  2. import org.apache.commons.lang3.builder.ToStringBuilder;
  3. /**
  4. * 对应数据库表(order):
  5. */
  6. public class Order {
  7. /** */
  8. private Integer id;
  9. /** 订单号。订单流水号 */
  10. private Integer oid;
  11. /** 学员的用户编号 */
  12. private Integer userId;
  13. /** 订单总金额(分) */
  14. private Long amount;
  15. /** 支付成功金额(分)。本次在线支付(充值)的金额,该金额通常应该等于订单总金额;如果该金额少于订单总金额,则自动使用学员账户余额补足订单总金额;该金额不能大于订单总金额 */
  16. private Long pay;
  17. /** 在线支付平台 */
  18. private Integer bank;
  19. /** 公司收款帐号。本次接收学员款项的公司在线支付平台(支付宝、微信等)账户号 */
  20. private String account;
  21. /** 学员付款帐号。本次在线支付学员使用的支付宝或微信账户号。银行卡支付可为空。 */
  22. private String uAccount;
  23. /** 支付流水号或代理商订单号。银行/在线支付平台生成的支付流水号或代理商生成的订单号(必须唯一不重复) */
  24. private String payId;
  25. /** 支付到帐时间 */
  26. private java.util.Date payTime;
  27. /** 交易订单明细 */
  28. private String remark;
  29. /** 小课编号 */
  30. private Integer classId;
  31. /** 支付状态,0成功,1支付中,2失败 */
  32. private Integer status;
  33. /** 创建时间 */
  34. private java.util.Date createTime;
  35. /** 乐团名称 */
  36. private String poName;
  37. /** 声部 */
  38. private String voicyPart;
  39. /** 账户扣款金额 */
  40. private Long balance;
  41. /** 批次号 */
  42. private String batchNum;
  43. public void setId(Integer id){
  44. this.id = id;
  45. }
  46. public Integer getId(){
  47. return this.id;
  48. }
  49. public void setOid(Integer oid){
  50. this.oid = oid;
  51. }
  52. public Integer getOid(){
  53. return this.oid;
  54. }
  55. public void setUserId(Integer userId){
  56. this.userId = userId;
  57. }
  58. public Integer getUserId(){
  59. return this.userId;
  60. }
  61. public void setAmount(Long amount){
  62. this.amount = amount;
  63. }
  64. public Long getAmount(){
  65. return this.amount;
  66. }
  67. public void setPay(Long pay){
  68. this.pay = pay;
  69. }
  70. public Long getPay(){
  71. return this.pay;
  72. }
  73. public void setBank(Integer bank){
  74. this.bank = bank;
  75. }
  76. public Integer getBank(){
  77. return this.bank;
  78. }
  79. public void setAccount(String account){
  80. this.account = account;
  81. }
  82. public String getAccount(){
  83. return this.account;
  84. }
  85. public void setUAccount(String uAccount){
  86. this.uAccount = uAccount;
  87. }
  88. public String getUAccount(){
  89. return this.uAccount;
  90. }
  91. public void setPayId(String payId){
  92. this.payId = payId;
  93. }
  94. public String getPayId(){
  95. return this.payId;
  96. }
  97. public void setPayTime(java.util.Date payTime){
  98. this.payTime = payTime;
  99. }
  100. public java.util.Date getPayTime(){
  101. return this.payTime;
  102. }
  103. public void setRemark(String remark){
  104. this.remark = remark;
  105. }
  106. public String getRemark(){
  107. return this.remark;
  108. }
  109. public void setClassId(Integer classId){
  110. this.classId = classId;
  111. }
  112. public Integer getClassId(){
  113. return this.classId;
  114. }
  115. public void setStatus(Integer status){
  116. this.status = status;
  117. }
  118. public Integer getStatus(){
  119. return this.status;
  120. }
  121. public void setCreateTime(java.util.Date createTime){
  122. this.createTime = createTime;
  123. }
  124. public java.util.Date getCreateTime(){
  125. return this.createTime;
  126. }
  127. public void setPoName(String poName){
  128. this.poName = poName;
  129. }
  130. public String getPoName(){
  131. return this.poName;
  132. }
  133. public void setVoicyPart(String voicyPart){
  134. this.voicyPart = voicyPart;
  135. }
  136. public String getVoicyPart(){
  137. return this.voicyPart;
  138. }
  139. public void setBalance(Long balance){
  140. this.balance = balance;
  141. }
  142. public Long getBalance(){
  143. return this.balance;
  144. }
  145. public void setBatchNum(String batchNum){
  146. this.batchNum = batchNum;
  147. }
  148. public String getBatchNum(){
  149. return this.batchNum;
  150. }
  151. @Override
  152. public String toString() {
  153. return ToStringBuilder.reflectionToString(this);
  154. }
  155. }