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; } }
最近下载更多
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日
feng叶 LV3
2021年1月14日
最近浏览更多
做自己的太阳 LV11
2月4日
yemmmm666 LV1
2023年6月12日
tdfgjbi0de LV6
2023年6月9日
3516569014 LV5
2023年5月7日
星辰xc LV2
2023年5月7日
lzn00000 LV1
2023年4月24日
女王不该在山炮村养花 LV8
2023年4月22日
jierffff LV2
2023年4月20日
彩色天空 LV5
2023年4月2日
jiyun2021 LV9
2023年2月3日