📄 users.java
字号:
package com.stiven.hibernate;
import java.util.HashSet;
import java.util.Set;
/**
* Users entity.
*
* @author MyEclipse Persistence Tools
*/
public class Users implements java.io.Serializable {
// Fields
private Long userid;
private String username;
private String userpwd;
private Set blogentries = new HashSet(0);
private Set commentses = new HashSet(0);
// Constructors
/** default constructor */
public Users() {
}
/** full constructor */
public Users(String username, String userpwd, Set blogentries,
Set commentses) {
this.username = username;
this.userpwd = userpwd;
this.blogentries = blogentries;
this.commentses = commentses;
}
// Property accessors
public Long getUserid() {
return this.userid;
}
public void setUserid(Long userid) {
this.userid = userid;
}
public String getUsername() {
return this.username;
}
public void setUsername(String username) {
this.username = username;
}
public String getUserpwd() {
return this.userpwd;
}
public void setUserpwd(String userpwd) {
this.userpwd = userpwd;
}
public Set getBlogentries() {
return this.blogentries;
}
public void setBlogentries(Set blogentries) {
this.blogentries = blogentries;
}
public Set getCommentses() {
return this.commentses;
}
public void setCommentses(Set commentses) {
this.commentses = commentses;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -