加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
SysUser.java 1.91 KB
一键复制 编辑 原始数据 按行查看 历史
zhangxiulong 提交于 2022-02-09 17:57 . sss
package 需要在此处填写包名;
import javax.persistence.*;
import java.io.Serializable;
/**
* generated by Generate POJOs.groovy
* <p>Date: Thu Jul 22 16:11:46 CST 2021.</p>
*
* @author Chaui
*/
@Table ( name ="sys_user" )
public class SysUser implements Serializable {
private static final long serialVersionUID = 1711015140686571317L;
/**
* ID
*/
@Column(name = "id" )
private Integer id;
/**
* 名字
*/
@Column(name = "name" )
private String name;
/**
* 密码
*/
@Column(name = "password" )
private String password;
/**
* 年纪
*/
@Column(name = "age" )
private Integer age;
/**
* 工号ID
*/
@Column(name = "roleid" )
private Integer roleid;
/**
* 性别
*/
@Column(name = "sex" )
private String sex;
/**
* 部门ID
*/
@Column(name = "dept_id" )
private Integer deptId;
public SysUser(){super();}
public SysUser(Integer id,String name,String password,Integer age,Integer roleid,String sex,Integer deptId){
this.id=id;
this.name=name;
this.password=password;
this.age=age;
this.roleid=roleid;
this.sex=sex;
this.deptId=deptId;
}
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getPassword() {
return this.password;
}
public void setPassword(String password) {
this.password = password;
}
public Integer getAge() {
return this.age;
}
public void setAge(Integer age) {
this.age = age;
}
public Integer getRoleid() {
return this.roleid;
}
public void setRoleid(Integer roleid) {
this.roleid = roleid;
}
public String getSex() {
return this.sex;
}
public void setSex(String sex) {
this.sex = sex;
}
public Integer getDeptId() {
return this.deptId;
}
public void setDeptId(Integer deptId) {
this.deptId = deptId;
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化