package com.beans;
import java.util.HashSet;
import java.util.Set;
/**
* blog entity. @author MyEclipse Persistence Tools
*/
public class blog implements java.io.Serializable {
// Fields
private Integer blogId;
private category category;
private String blogTitle;
private String blogContent;
private String blogTime;
private Set comments = new HashSet(0);
// Constructors
/** default constructor */
public blog() {
}
/** minimal constructor */
public blog(category category, String blogTitle, String blogContent,
String blogTime) {
this.category = category;
this.blogTitle = blogTitle;
this.blogContent = blogContent;
this.blogTime = blogTime;
}
/** full constructor */
public blog(category category, String blogTitle, String blogContent,
String blogTime, Set comments) {
this.category = category;
this.blogTitle = blogTitle;
this.blogContent = blogContent;
this.blogTime = blogTime;
this.comments = comments;
}
// Property accessors
public Integer getBlogId() {
return this.blogId;
}
public void setBlogId(Integer blogId) {
this.blogId = blogId;
}
public category getCategory() {
return this.category;
}
public void setCategory(category category) {
this.category = category;
}
public String getBlogTitle() {
return this.blogTitle;
}
public void setBlogTitle(String blogTitle) {
this.blogTitle = blogTitle;
}
public String getBlogContent() {
return this.blogContent;
}
public void setBlogContent(String blogContent) {
this.blogContent = blogContent;
}
public String getBlogTime() {
return this.blogTime;
}
public void setBlogTime(String blogTime) {
this.blogTime = blogTime;
}
public Set getComments() {
return this.comments;
}
public void setComments(Set comments) {
this.comments = comments;
}
}
最近下载更多
陈小灏 LV18
2024年6月26日
gxlgxl LV4
2022年5月25日
wangzile1994 LV12
2022年4月16日
石狮31 LV1
2022年4月7日
caijiebiao LV1
2022年2月17日
Sacajawea- LV1
2021年12月15日
yexiansheng LV1
2021年11月6日
ssssss001 LV1
2021年6月24日
lingdulangman LV1
2021年2月3日
Possess LV4
2021年1月19日

最近浏览