首页>代码>Spring+Spring MVC+Mybatis+Jersey+Fastjson整合RESTful API框架,适合学习RESTful API框架初学者>/NICO-DEMO-Api/src/main/java/com/nico/entities/Account.java
package com.nico.entities; import java.sql.Timestamp; // 账号表 public class Account { private String accountID; // 账户ID private String userName; // 顾家号 private String password; // 密码 private String nickName; // 昵称 private int gender; // 性别 private String role; // 权限 private int enabled; // 是否可用 private Timestamp createTime; // 创建时间 public String getAccountID() { return accountID; } public void setAccountID(String accountID) { this.accountID = accountID; } public String getUserName() { return userName; } public void setUserName(String userName) { this.userName = userName; } public String getPassword() { return password; } public void setPassword(String password) { this.password = password; } public String getNickName() { return nickName; } public void setNickName(String nickName) { this.nickName = nickName; } public int getGender() { return gender; } public void setGender(int gender) { this.gender = gender; } public String getRole() { return role; } public void setRole(String role) { this.role = role; } public int getEnabled() { return enabled; } public void setEnabled(int enabled) { this.enabled = enabled; } public Timestamp getCreateTime() { return createTime; } public void setCreateTime(Timestamp createTime) { this.createTime = createTime; } @Override public String toString() { return "Account [accountID=" + accountID + ", userName=" + userName + ", password=" + password + ", nickName=" + nickName + ", gender=" + gender + ", role=" + role + ", enabled=" + enabled + ", createTime=" + createTime + "]"; } }
最近下载更多