package com.neo.domain; import java.io.Serializable; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; @Entity public class User implements Serializable { private static final long serialVersionUID = 1L; @Id @GeneratedValue private Long id; @Column(nullable = false, unique = true) private String userName; @Column(nullable = false) private String passWord; @Column(nullable = false, unique = true) private String email; @Column(nullable = true, unique = true) private String nickName; @Column(nullable = false) private String regTime; public User() { super(); } public User(String email, String nickName, String passWord, String userName, String regTime) { super(); this.email = email; this.nickName = nickName; this.passWord = passWord; this.userName = userName; this.regTime = regTime; } public Long getId() { return id; } public void setId(Long 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 String getEmail() { return email; } public void setEmail(String email) { this.email = email; } public String getNickName() { return nickName; } public void setNickName(String nickName) { this.nickName = nickName; } public String getRegTime() { return regTime; } public void setRegTime(String regTime) { this.regTime = regTime; } }
最近下载更多
最近浏览更多
bluerstar LV1
10月23日
charleswang LV7
10月21日
wjs-zuizui
10月19日
暂无贡献等级
zvcbnlk LV2
10月1日
微信网友_7134912998903808 LV9
9月2日
chn-lei LV2
8月30日
tianli3000 LV8
7月31日
zerofire LV3
7月1日
dongdong99 LV1
6月29日
lp12345
6月25日
暂无贡献等级