Account.java 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. package yike.example.obj;
  2. import java.io.Serializable;
  3. import java.util.Date;
  4. import io.swagger.annotations.ApiModelProperty;
  5. /**
  6. * 账号
  7. *
  8. * @author kevin
  9. *
  10. */
  11. public class Account implements Serializable{
  12. /**
  13. *
  14. */
  15. private static final long serialVersionUID = 5164200417829209017L;
  16. private Long id;
  17. @ApiModelProperty("用户名")
  18. private String username;
  19. private String password;
  20. private String mobile;
  21. private String email;
  22. private String inviteCode;
  23. private String weixinOpenId;
  24. private String apnsToken;
  25. private Date gmtCreate;
  26. private Date gmtUpdate;
  27. public Long getId() {
  28. return id;
  29. }
  30. public void setId(Long id) {
  31. this.id = id;
  32. }
  33. public String getUsername() {
  34. return username;
  35. }
  36. public void setUsername(String username) {
  37. this.username = username;
  38. }
  39. public String getPassword() {
  40. return password;
  41. }
  42. public void setPassword(String password) {
  43. this.password = password;
  44. }
  45. public String getMobile() {
  46. return mobile;
  47. }
  48. public void setMobile(String mobile) {
  49. this.mobile = mobile;
  50. }
  51. public String getEmail() {
  52. return email;
  53. }
  54. public void setEmail(String email) {
  55. this.email = email;
  56. }
  57. public String getInviteCode() {
  58. return inviteCode;
  59. }
  60. public void setInviteCode(String inviteCode) {
  61. this.inviteCode = inviteCode;
  62. }
  63. public String getWeixinOpenId() {
  64. return weixinOpenId;
  65. }
  66. public void setWeixinOpenId(String weixinOpenId) {
  67. this.weixinOpenId = weixinOpenId;
  68. }
  69. public Date getGmtCreate() {
  70. return gmtCreate;
  71. }
  72. public void setGmtCreate(Date gmtCreate) {
  73. this.gmtCreate = gmtCreate;
  74. }
  75. public Date getGmtUpdate() {
  76. return gmtUpdate;
  77. }
  78. public void setGmtUpdate(Date gmtUpdate) {
  79. this.gmtUpdate = gmtUpdate;
  80. }
  81. public String getApnsToken() {
  82. return apnsToken;
  83. }
  84. public void setApnsToken(String apnsToken) {
  85. this.apnsToken = apnsToken;
  86. }
  87. }