📄 comments.java
字号:
package com.stiven.hibernate;
import java.util.Date;
/**
* Comments entity.
*
* @author MyEclipse Persistence Tools
*/
public class Comments implements java.io.Serializable {
// Fields
private Long cid;
private Blogentry blogentry;
private Users users;
private String text;
private Date cdate;
// Constructors
/** default constructor */
public Comments() {
}
/** full constructor */
public Comments(Blogentry blogentry, Users users, String text, Date cdate) {
this.blogentry = blogentry;
this.users = users;
this.text = text;
this.cdate = cdate;
}
// Property accessors
public Long getCid() {
return this.cid;
}
public void setCid(Long cid) {
this.cid = cid;
}
public Blogentry getBlogentry() {
return this.blogentry;
}
public void setBlogentry(Blogentry blogentry) {
this.blogentry = blogentry;
}
public Users getUsers() {
return this.users;
}
public void setUsers(Users users) {
this.users = users;
}
public String getText() {
return this.text;
}
public void setText(String text) {
this.text = text;
}
public Date getCdate() {
return this.cdate;
}
public void setCdate(Date cdate) {
this.cdate = cdate;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -