Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.webdev.model;
- import java.util.Date;
- public class Comment {
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database column Comment.Id
- *
- * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
- */
- private Long id;
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database column Comment.UserId
- *
- * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
- */
- private Integer userid;
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database column Comment.PostId
- *
- * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
- */
- private Integer postid;
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database column Comment.ParentId
- *
- * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
- */
- private Long parentid;
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database column Comment.TotalReply
- *
- * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
- */
- private Integer totalreply;
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database column Comment.CreatedDate
- *
- * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
- */
- private Date createddate;
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database column Comment.UpdatedDate
- *
- * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
- */
- private Date updateddate;
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database column Comment.Depth
- *
- * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
- */
- private Integer depth;
- /**
- * This field was generated by MyBatis Generator.
- * This field corresponds to the database column Comment.Content
- *
- * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
- */
- private String content;
- /**
- * This method was generated by MyBatis Generator.
- * This method returns the value of the database column Comment.Id
- *
- * @return the value of Comment.Id
- *
- * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
- */
- public Long getId() {
- return id;
- }
- /**
- * This method was generated by MyBatis Generator.
- * This method sets the value of the database column Comment.Id
- *
- * @param id the value for Comment.Id
- *
- * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
- */
- public void setId(Long id) {
- this.id = id;
- }
- /**
- * This method was generated by MyBatis Generator.
- * This method returns the value of the database column Comment.UserId
- *
- * @return the value of Comment.UserId
- *
- * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
- */
- public Integer getUserid() {
- return userid;
- }
- /**
- * This method was generated by MyBatis Generator.
- * This method sets the value of the database column Comment.UserId
- *
- * @param userid the value for Comment.UserId
- *
- * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
- */
- public void setUserid(Integer userid) {
- this.userid = userid;
- }
- /**
- * This method was generated by MyBatis Generator.
- * This method returns the value of the database column Comment.PostId
- *
- * @return the value of Comment.PostId
- *
- * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
- */
- public Integer getPostid() {
- return postid;
- }
- /**
- * This method was generated by MyBatis Generator.
- * This method sets the value of the database column Comment.PostId
- *
- * @param postid the value for Comment.PostId
- *
- * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
- */
- public void setPostid(Integer postid) {
- this.postid = postid;
- }
- /**
- * This method was generated by MyBatis Generator.
- * This method returns the value of the database column Comment.ParentId
- *
- * @return the value of Comment.ParentId
- *
- * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
- */
- public Long getParentid() {
- return parentid;
- }
- /**
- * This method was generated by MyBatis Generator.
- * This method sets the value of the database column Comment.ParentId
- *
- * @param parentid the value for Comment.ParentId
- *
- * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
- */
- public void setParentid(Long parentid) {
- this.parentid = parentid;
- }
- /**
- * This method was generated by MyBatis Generator.
- * This method returns the value of the database column Comment.TotalReply
- *
- * @return the value of Comment.TotalReply
- *
- * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
- */
- public Integer getTotalreply() {
- return totalreply;
- }
- /**
- * This method was generated by MyBatis Generator.
- * This method sets the value of the database column Comment.TotalReply
- *
- * @param totalreply the value for Comment.TotalReply
- *
- * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
- */
- public void setTotalreply(Integer totalreply) {
- this.totalreply = totalreply;
- }
- /**
- * This method was generated by MyBatis Generator.
- * This method returns the value of the database column Comment.CreatedDate
- *
- * @return the value of Comment.CreatedDate
- *
- * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
- */
- public Date getCreateddate() {
- return createddate;
- }
- /**
- * This method was generated by MyBatis Generator.
- * This method sets the value of the database column Comment.CreatedDate
- *
- * @param createddate the value for Comment.CreatedDate
- *
- * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
- */
- public void setCreateddate(Date createddate) {
- this.createddate = createddate;
- }
- /**
- * This method was generated by MyBatis Generator.
- * This method returns the value of the database column Comment.UpdatedDate
- *
- * @return the value of Comment.UpdatedDate
- *
- * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
- */
- public Date getUpdateddate() {
- return updateddate;
- }
- /**
- * This method was generated by MyBatis Generator.
- * This method sets the value of the database column Comment.UpdatedDate
- *
- * @param updateddate the value for Comment.UpdatedDate
- *
- * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
- */
- public void setUpdateddate(Date updateddate) {
- this.updateddate = updateddate;
- }
- /**
- * This method was generated by MyBatis Generator.
- * This method returns the value of the database column Comment.Depth
- *
- * @return the value of Comment.Depth
- *
- * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
- */
- public Integer getDepth() {
- return depth;
- }
- /**
- * This method was generated by MyBatis Generator.
- * This method sets the value of the database column Comment.Depth
- *
- * @param depth the value for Comment.Depth
- *
- * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
- */
- public void setDepth(Integer depth) {
- this.depth = depth;
- }
- /**
- * This method was generated by MyBatis Generator.
- * This method returns the value of the database column Comment.Content
- *
- * @return the value of Comment.Content
- *
- * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
- */
- public String getContent() {
- return content;
- }
- /**
- * This method was generated by MyBatis Generator.
- * This method sets the value of the database column Comment.Content
- *
- * @param content the value for Comment.Content
- *
- * @mbggenerated Wed Jun 03 06:42:27 BDT 2015
- */
- public void setContent(String content) {
- this.content = content;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement