package com.qm.smm.entity;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

/**
 * 用户实体
 * @author quanmin
 *
 */
@Entity
public class User{
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	private Integer id;
	private String name;
	private String pwd;
	
	public User() {}

	public User(String name, String pwd) {
		this.name = name;
		this.pwd = pwd;
	}

	public User(Integer id, String name, String pwd) {
		super();
		this.id = id;
		this.name = name;
		this.pwd = pwd;
	}

	public Integer getId() {
		return id;
	}

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

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPwd() {
		return pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	@Override
	public String toString() {
		return "User [id=" + id + ", name=" + name + ", pwd=" + pwd + "]";
	}
	
}
最近下载更多
李亮  LV19 2023年3月7日
我睡觉时不困  LV7 2022年11月19日
小白jmhuang  LV12 2022年1月6日
myfz0662  LV10 2021年12月17日
543666826  LV33 2021年11月18日
457229171  LV7 2021年7月4日
不吃胡萝卜卜卜  LV6 2021年6月4日
hwshws  LV9 2021年5月19日
宣123456  LV8 2021年2月2日
jbjbccc  LV2 2020年11月10日
最近浏览更多
2578233069 前天
暂无贡献等级
yolo_light  LV1 2023年12月21日
wwwww816  LV3 2023年12月19日
zhumeng168  LV5 2023年7月8日
gecongkai  LV8 2023年6月22日
神经蛙- 2023年5月17日
暂无贡献等级
微信网友_6442588254851072  LV2 2023年4月22日
李亮  LV19 2023年3月6日
云龙123456  LV7 2023年2月21日
qwer123978ca  LV1 2022年12月19日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友