Advertisement
Guest User

Untitled

a guest
Jul 2nd, 2015
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.90 KB | None | 0 0
  1. package com.webdev.model;
  2.  
  3. import java.util.Date;
  4.  
  5. public class Comment {
  6. /**
  7. * This field was generated by MyBatis Generator.
  8. * This field corresponds to the database column Comment.Id
  9. *
  10. * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
  11. */
  12. private Long id;
  13.  
  14. /**
  15. * This field was generated by MyBatis Generator.
  16. * This field corresponds to the database column Comment.UserId
  17. *
  18. * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
  19. */
  20. private Integer userid;
  21.  
  22. /**
  23. * This field was generated by MyBatis Generator.
  24. * This field corresponds to the database column Comment.PostId
  25. *
  26. * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
  27. */
  28. private Integer postid;
  29.  
  30. /**
  31. * This field was generated by MyBatis Generator.
  32. * This field corresponds to the database column Comment.ParentId
  33. *
  34. * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
  35. */
  36. private Long parentid;
  37.  
  38. /**
  39. * This field was generated by MyBatis Generator.
  40. * This field corresponds to the database column Comment.TotalReply
  41. *
  42. * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
  43. */
  44. private Integer totalreply;
  45.  
  46. /**
  47. * This field was generated by MyBatis Generator.
  48. * This field corresponds to the database column Comment.CreatedDate
  49. *
  50. * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
  51. */
  52. private Date createddate;
  53.  
  54. /**
  55. * This field was generated by MyBatis Generator.
  56. * This field corresponds to the database column Comment.UpdatedDate
  57. *
  58. * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
  59. */
  60. private Date updateddate;
  61.  
  62. /**
  63. * This field was generated by MyBatis Generator.
  64. * This field corresponds to the database column Comment.Depth
  65. *
  66. * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
  67. */
  68. private Integer depth;
  69.  
  70. /**
  71. * This field was generated by MyBatis Generator.
  72. * This field corresponds to the database column Comment.Content
  73. *
  74. * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
  75. */
  76. private String content;
  77.  
  78. /**
  79. * This method was generated by MyBatis Generator.
  80. * This method returns the value of the database column Comment.Id
  81. *
  82. * @return the value of Comment.Id
  83. *
  84. * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
  85. */
  86. public Long getId() {
  87. return id;
  88. }
  89.  
  90. /**
  91. * This method was generated by MyBatis Generator.
  92. * This method sets the value of the database column Comment.Id
  93. *
  94. * @param id the value for Comment.Id
  95. *
  96. * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
  97. */
  98. public void setId(Long id) {
  99. this.id = id;
  100. }
  101.  
  102. /**
  103. * This method was generated by MyBatis Generator.
  104. * This method returns the value of the database column Comment.UserId
  105. *
  106. * @return the value of Comment.UserId
  107. *
  108. * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
  109. */
  110. public Integer getUserid() {
  111. return userid;
  112. }
  113.  
  114. /**
  115. * This method was generated by MyBatis Generator.
  116. * This method sets the value of the database column Comment.UserId
  117. *
  118. * @param userid the value for Comment.UserId
  119. *
  120. * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
  121. */
  122. public void setUserid(Integer userid) {
  123. this.userid = userid;
  124. }
  125.  
  126. /**
  127. * This method was generated by MyBatis Generator.
  128. * This method returns the value of the database column Comment.PostId
  129. *
  130. * @return the value of Comment.PostId
  131. *
  132. * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
  133. */
  134. public Integer getPostid() {
  135. return postid;
  136. }
  137.  
  138. /**
  139. * This method was generated by MyBatis Generator.
  140. * This method sets the value of the database column Comment.PostId
  141. *
  142. * @param postid the value for Comment.PostId
  143. *
  144. * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
  145. */
  146. public void setPostid(Integer postid) {
  147. this.postid = postid;
  148. }
  149.  
  150. /**
  151. * This method was generated by MyBatis Generator.
  152. * This method returns the value of the database column Comment.ParentId
  153. *
  154. * @return the value of Comment.ParentId
  155. *
  156. * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
  157. */
  158. public Long getParentid() {
  159. return parentid;
  160. }
  161.  
  162. /**
  163. * This method was generated by MyBatis Generator.
  164. * This method sets the value of the database column Comment.ParentId
  165. *
  166. * @param parentid the value for Comment.ParentId
  167. *
  168. * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
  169. */
  170. public void setParentid(Long parentid) {
  171. this.parentid = parentid;
  172. }
  173.  
  174. /**
  175. * This method was generated by MyBatis Generator.
  176. * This method returns the value of the database column Comment.TotalReply
  177. *
  178. * @return the value of Comment.TotalReply
  179. *
  180. * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
  181. */
  182. public Integer getTotalreply() {
  183. return totalreply;
  184. }
  185.  
  186. /**
  187. * This method was generated by MyBatis Generator.
  188. * This method sets the value of the database column Comment.TotalReply
  189. *
  190. * @param totalreply the value for Comment.TotalReply
  191. *
  192. * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
  193. */
  194. public void setTotalreply(Integer totalreply) {
  195. this.totalreply = totalreply;
  196. }
  197.  
  198. /**
  199. * This method was generated by MyBatis Generator.
  200. * This method returns the value of the database column Comment.CreatedDate
  201. *
  202. * @return the value of Comment.CreatedDate
  203. *
  204. * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
  205. */
  206. public Date getCreateddate() {
  207. return createddate;
  208. }
  209.  
  210. /**
  211. * This method was generated by MyBatis Generator.
  212. * This method sets the value of the database column Comment.CreatedDate
  213. *
  214. * @param createddate the value for Comment.CreatedDate
  215. *
  216. * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
  217. */
  218. public void setCreateddate(Date createddate) {
  219. this.createddate = createddate;
  220. }
  221.  
  222. /**
  223. * This method was generated by MyBatis Generator.
  224. * This method returns the value of the database column Comment.UpdatedDate
  225. *
  226. * @return the value of Comment.UpdatedDate
  227. *
  228. * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
  229. */
  230. public Date getUpdateddate() {
  231. return updateddate;
  232. }
  233.  
  234. /**
  235. * This method was generated by MyBatis Generator.
  236. * This method sets the value of the database column Comment.UpdatedDate
  237. *
  238. * @param updateddate the value for Comment.UpdatedDate
  239. *
  240. * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
  241. */
  242. public void setUpdateddate(Date updateddate) {
  243. this.updateddate = updateddate;
  244. }
  245.  
  246. /**
  247. * This method was generated by MyBatis Generator.
  248. * This method returns the value of the database column Comment.Depth
  249. *
  250. * @return the value of Comment.Depth
  251. *
  252. * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
  253. */
  254. public Integer getDepth() {
  255. return depth;
  256. }
  257.  
  258. /**
  259. * This method was generated by MyBatis Generator.
  260. * This method sets the value of the database column Comment.Depth
  261. *
  262. * @param depth the value for Comment.Depth
  263. *
  264. * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
  265. */
  266. public void setDepth(Integer depth) {
  267. this.depth = depth;
  268. }
  269.  
  270. /**
  271. * This method was generated by MyBatis Generator.
  272. * This method returns the value of the database column Comment.Content
  273. *
  274. * @return the value of Comment.Content
  275. *
  276. * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
  277. */
  278. public String getContent() {
  279. return content;
  280. }
  281.  
  282. /**
  283. * This method was generated by MyBatis Generator.
  284. * This method sets the value of the database column Comment.Content
  285. *
  286. * @param content the value for Comment.Content
  287. *
  288. * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
  289. */
  290. public void setContent(String content) {
  291. this.content = content;
  292. }
  293. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement