edu_nju_controller_OAuthController_getLoginUser_UserInfo.html 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <title>UserInfo</title>
  6. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.css">
  7. <link href="../style.css" rel="stylesheet" />
  8. </head>
  9. <body onload="PR.prettyPrint()">
  10. <pre class="prettyprint lang-java">
  11. public class UserInfo implements Serializable{
  12. private long id; //
  13. private String email; //
  14. private String name; //
  15. private String mobile; //
  16. private String school; //
  17. private String openId; //
  18. public long getId(){
  19. return id;
  20. }
  21. public void setId(long id){
  22. this.id = id;
  23. }
  24. public String getEmail(){
  25. return email;
  26. }
  27. public void setEmail(String email){
  28. this.email = email;
  29. }
  30. public String getName(){
  31. return name;
  32. }
  33. public void setName(String name){
  34. this.name = name;
  35. }
  36. public String getMobile(){
  37. return mobile;
  38. }
  39. public void setMobile(String mobile){
  40. this.mobile = mobile;
  41. }
  42. public String getSchool(){
  43. return school;
  44. }
  45. public void setSchool(String school){
  46. this.school = school;
  47. }
  48. public String getOpenId(){
  49. return openId;
  50. }
  51. public void setOpenId(String openId){
  52. this.openId = openId;
  53. }
  54. }
  55. </pre>
  56. <script src="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.js"></script>
  57. </body>
  58. </html>