尚学堂科技_王勇_JAVA视频教程_Hibernate源代码及重要说明
源代码在线查看: user2.java
package com.bjsxt.hibernate;
import java.util.Date;
public class User2 {
private int id;
private String name;
private String password;
private Date createTime;
private Date expireTime;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
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 Date getExpireTime() {
return expireTime;
}
public void setExpireTime(Date expireTime) {
this.expireTime = expireTime;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
}