UserIdentity.java 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309
  1. package com.goafanti.common.model;
  2. import java.math.BigDecimal;
  3. import java.util.Date;
  4. import org.apache.commons.lang3.time.DateFormatUtils;
  5. import com.fasterxml.jackson.annotation.JsonFormat;
  6. import com.fasterxml.jackson.annotation.JsonFormat.Shape;
  7. import com.goafanti.common.constant.AFTConstants;
  8. public class UserIdentity {
  9. private String id;
  10. private String uid;
  11. /**
  12. * 姓名
  13. */
  14. private String username;
  15. /**
  16. * 性别
  17. */
  18. private String sex;
  19. /**
  20. * 出生年
  21. */
  22. private String dateOfBirthYear;
  23. /**
  24. * 出生月
  25. */
  26. private String dateOfBirthMonth;
  27. /**
  28. * 身份证号码
  29. */
  30. private String idNumber;
  31. /**
  32. * 身份证正面照
  33. */
  34. private String positiveIdUrl;
  35. /**
  36. * 身份证反面照
  37. */
  38. private String oppositeIdUrl;
  39. /**
  40. * 用户名
  41. */
  42. private String aftUsername;
  43. /**
  44. * 所在地-省份
  45. */
  46. private String province;
  47. /**
  48. * 所在地--市
  49. */
  50. private String city;
  51. /**
  52. * 所在地--区
  53. */
  54. private String area;
  55. /**
  56. * 联系方式
  57. */
  58. private String contactMobile;
  59. /**
  60. * 银行开户名
  61. */
  62. private String bankName;
  63. /**
  64. * 开户银行
  65. */
  66. private String bankAccount;
  67. /**
  68. * 银行卡号
  69. */
  70. private String bankCardNumber;
  71. /**
  72. * 打款金额
  73. */
  74. private BigDecimal amountMoney;
  75. /**
  76. * 审核状态(审核状态(0--未提交审核,1-提交审核,2-审核未打款,3-审核已打款,4-审核未通过,5-审核通过))
  77. */
  78. private Integer auditStatus;
  79. /**
  80. * 实名认证流程
  81. */
  82. private Integer process;
  83. /**
  84. * 输入错误打款金额次数
  85. */
  86. private Integer wrongCount;
  87. /**
  88. * 打款日期
  89. */
  90. private Date paymentDate;
  91. public String getId() {
  92. return id;
  93. }
  94. public void setId(String id) {
  95. this.id = id;
  96. }
  97. public String getUid() {
  98. return uid;
  99. }
  100. public void setUid(String uid) {
  101. this.uid = uid;
  102. }
  103. public String getUsername() {
  104. return username;
  105. }
  106. public void setUsername(String username) {
  107. this.username = username;
  108. }
  109. public String getSex() {
  110. return sex;
  111. }
  112. public void setSex(String sex) {
  113. this.sex = sex;
  114. }
  115. public String getDateOfBirthYear() {
  116. return dateOfBirthYear;
  117. }
  118. public void setDateOfBirthYear(String dateOfBirthYear) {
  119. this.dateOfBirthYear = dateOfBirthYear;
  120. }
  121. public String getDateOfBirthMonth() {
  122. return dateOfBirthMonth;
  123. }
  124. public void setDateOfBirthMonth(String dateOfBirthMonth) {
  125. this.dateOfBirthMonth = dateOfBirthMonth;
  126. }
  127. public String getIdNumber() {
  128. return idNumber;
  129. }
  130. public void setIdNumber(String idNumber) {
  131. this.idNumber = idNumber;
  132. }
  133. public String getPositiveIdUrl() {
  134. return positiveIdUrl;
  135. }
  136. public void setPositiveIdUrl(String positiveIdUrl) {
  137. this.positiveIdUrl = positiveIdUrl;
  138. }
  139. public String getOppositeIdUrl() {
  140. return oppositeIdUrl;
  141. }
  142. public void setOppositeIdUrl(String oppositeIdUrl) {
  143. this.oppositeIdUrl = oppositeIdUrl;
  144. }
  145. public String getAftUsername() {
  146. return aftUsername;
  147. }
  148. public void setAftUsername(String aftUsername) {
  149. this.aftUsername = aftUsername;
  150. }
  151. public String getProvince() {
  152. return province;
  153. }
  154. public void setProvince(String province) {
  155. this.province = province;
  156. }
  157. public String getCity() {
  158. return city;
  159. }
  160. public void setCity(String city) {
  161. this.city = city;
  162. }
  163. public String getArea() {
  164. return area;
  165. }
  166. public void setArea(String area) {
  167. this.area = area;
  168. }
  169. public String getContactMobile() {
  170. return contactMobile;
  171. }
  172. public void setContactMobile(String contactMobile) {
  173. this.contactMobile = contactMobile;
  174. }
  175. public String getBankName() {
  176. return bankName;
  177. }
  178. public void setBankName(String bankName) {
  179. this.bankName = bankName;
  180. }
  181. public String getBankAccount() {
  182. return bankAccount;
  183. }
  184. public void setBankAccount(String bankAccount) {
  185. this.bankAccount = bankAccount;
  186. }
  187. public String getBankCardNumber() {
  188. return bankCardNumber;
  189. }
  190. public void setBankCardNumber(String bankCardNumber) {
  191. this.bankCardNumber = bankCardNumber;
  192. }
  193. public BigDecimal getAmountMoney() {
  194. return amountMoney;
  195. }
  196. public void setAmountMoney(BigDecimal amountMoney) {
  197. this.amountMoney = amountMoney;
  198. }
  199. @JsonFormat(shape = Shape.STRING)
  200. public Integer getAuditStatus() {
  201. return auditStatus;
  202. }
  203. public void setAuditStatus(Integer auditStatus) {
  204. this.auditStatus = auditStatus;
  205. }
  206. public Integer getProcess() {
  207. return process;
  208. }
  209. public void setProcess(Integer process) {
  210. this.process = process;
  211. }
  212. public Integer getWrongCount() {
  213. return wrongCount;
  214. }
  215. public void setWrongCount(Integer wrongCount) {
  216. this.wrongCount = wrongCount;
  217. }
  218. public Date getPaymentDate() {
  219. return paymentDate;
  220. }
  221. public void setPaymentDate(Date paymentDate) {
  222. this.paymentDate = paymentDate;
  223. }
  224. //打款日期
  225. public String getPaymentDateFormattedDate(){
  226. if (this.paymentDate == null) {
  227. return null;
  228. } else {
  229. return DateFormatUtils.format(this.getPaymentDate(), AFTConstants.YYYYMMDDHHMMSS);
  230. }
  231. }
  232. public void setPaymentDateFormattedDate(String paymentDateFormattedDate){
  233. }
  234. }