• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

shangtiao

  • 博客园
  • 联系
  • 订阅
  • 管理

公告

View Post

用户

package jiudian.model;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
//用户
@Entity
@Table(name="t_User")
public class User {

@Id
@GeneratedValue
private int id;

private String username;//用户名

private String xingbie;//男 女

private String password;//密码

private Date createtime;//添加时间

private int role;//1表示管理员

private String truename;//真实姓名

private String lianxifangshi;//联系方式

private int userlock;//用户状态 0表示正常状态 1表示删除状态



public int getUserlock() {
return userlock;
}

public void setUserlock(int userlock) {
this.userlock = userlock;
}

public int getId() {
return id;
}

public void setId(int id) {
this.id = id;
}

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 Date getCreatetime() {
return createtime;
}

public void setCreatetime(Date createtime) {
this.createtime = createtime;
}

public int getRole() {
return role;
}

public void setRole(int role) {
this.role = role;
}

public String getTruename() {
return truename;
}

public void setTruename(String truename) {
this.truename = truename;
}

public String getLianxifangshi() {
return lianxifangshi;
}

public void setLianxifangshi(String lianxifangshi) {
this.lianxifangshi = lianxifangshi;
}

public String getXingbie() {
return xingbie;
}

public void setXingbie(String xingbie) {
this.xingbie = xingbie;
}



}

posted on 2023-06-19 17:54  硪灬是。。。。  阅读(49)  评论(0)    收藏  举报

刷新页面返回顶部
 
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3