快速生成get set函数
统一创建完成后,在合适的地方采用快捷键 Shift+Alt+S
public class User extends BaseModel {
private static final long serialVersionUID = 1L;
private String id;
private String name;// 用户名
private String user_type;
private String status;// 状态
private String user_pwd;// 用户密码
private String user_rights;// 用户权限
private String real_name;// 姓名
private String out_time;// 超时时间
private String photo_path;// 照片路径
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getUser_type() {
return user_type;
}
public void setUser_type(String user_type) {
this.user_type = user_type;
}
}