Guest User

Untitled

a guest
Dec 17th, 2018
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. [
  2. {
  3. "id":1545043316459,
  4. "user_id":127118102570729472,
  5. "username":"abcd",
  6. "phone":"12413453563",
  7. "password":"b6b33aad5c337315d4ac5a34d82db990cfaf22e5eefe27220b6827d5e66ad8b4",
  8. "license":"12351331",
  9. "plate":"abcdef",
  10. "avatar":"",
  11. "approval":0,
  12. "balance":0.0
  13. }
  14. ]
  15.  
  16. @JsonCreator
  17. public User(@JsonProperty("user_id") long userId, @JsonProperty("username") String username, @JsonProperty("password") String password, @JsonProperty("avatar") String avatar,
  18. @JsonProperty("phone") String phone, @JsonProperty("license") String license, @JsonProperty("plate") String plate, @JsonProperty("approval") int approval,
  19. @JsonProperty("balance") BigDecimal balance) {
  20. this.userId = userId;
  21. this.username = username;
  22. this.password = password;
  23. this.avatar = avatar;
  24. this.phone = phone;
  25. this.license = license;
  26. this.plate = plate;
  27. this.balance = balance;
  28. this.approval = approval;
  29. }
Add Comment
Please, Sign In to add comment