1 2 3 24 package com.geinuke.vo; 25 26 import java.io.Serializable ; 27 28 import com.geinuke.util.collection.TreeArrayList; 29 30 31 public class BlogPostVO implements Serializable { 32 protected int bid=-1; 33 protected UserVO blogAuthor=null; 34 protected CategoryVO blogCategory=null; 35 protected long postTime=-1; 36 protected String BlogTitle=null; 37 protected String BlogText=null; 38 protected TreeArrayList comments=null; 39 42 public int getBid() { 43 return bid; 44 } 45 48 public void setBid(int bid) { 49 this.bid = bid; 50 } 51 54 public UserVO getBlogAuthor() { 55 return blogAuthor; 56 } 57 60 public void setBlogAuthor(UserVO blogAuthor) { 61 this.blogAuthor = blogAuthor; 62 } 63 66 public String getBlogText() { 67 return BlogText; 68 } 69 72 public void setBlogText(String blogText) { 73 BlogText = blogText; 74 } 75 78 public String getBlogTitle() { 79 return BlogTitle; 80 } 81 84 public void setBlogTitle(String blogTitle) { 85 BlogTitle = blogTitle; 86 } 87 90 public long getPostTime() { 91 return postTime; 92 } 93 96 public void setPostTime(long postTime) { 97 this.postTime = postTime; 98 } 99 102 public CategoryVO getBlogCategory() { 103 return blogCategory; 104 } 105 108 public void setBlogCategory(CategoryVO blogCategory) { 109 this.blogCategory = blogCategory; 110 } 111 114 public TreeArrayList getComments() { 115 return comments; 116 } 117 120 public void setComments(TreeArrayList comments) { 121 this.comments = comments; 122 } 123 } 124 | Popular Tags |