package com.model.base;

import com.jfinal.plugin.activerecord.Model;
import com.jfinal.plugin.activerecord.IBean;

/**
 * Generated by JFinal, do not modify this file.
 */
@SuppressWarnings({"serial", "unchecked"})
public abstract class BaseComment<M extends BaseComment<M>> extends Model<M> implements IBean {

	public M setId(java.lang.Integer id) {
		set("id", id);
		return (M)this;
	}
	
	public java.lang.Integer getId() {
		return getInt("id");
	}

	public M setReaderid(java.lang.Integer readerid) {
		set("readerid", readerid);
		return (M)this;
	}
	
	public java.lang.Integer getReaderid() {
		return getInt("readerid");
	}

	public M setBookno(java.lang.String bookno) {
		set("bookno", bookno);
		return (M)this;
	}
	
	public java.lang.String getBookno() {
		return getStr("bookno");
	}

	public M setOrgid(java.lang.Integer orgid) {
		set("orgid", orgid);
		return (M)this;
	}
	
	public java.lang.Integer getOrgid() {
		return getInt("orgid");
	}

	public M setFlag(java.lang.Integer flag) {
		set("flag", flag);
		return (M)this;
	}
	
	public java.lang.Integer getFlag() {
		return getInt("flag");
	}

	public M setScore(java.lang.Integer score) {
		set("score", score);
		return (M)this;
	}
	
	public java.lang.Integer getScore() {
		return getInt("score");
	}

	public M setContent(java.lang.String content) {
		set("content", content);
		return (M)this;
	}
	
	public java.lang.String getContent() {
		return getStr("content");
	}

	public M setCreatetime(java.util.Date createtime) {
		set("createtime", createtime);
		return (M)this;
	}
	
	public java.util.Date getCreatetime() {
		return get("createtime");
	}

	public M setReadername(java.lang.String readername) {
		set("readername", readername);
		return (M)this;
	}
	
	public java.lang.String getReadername() {
		return getStr("readername");
	}

	public M setTitle(java.lang.String title) {
		set("title", title);
		return (M)this;
	}
	
	public java.lang.String getTitle() {
		return getStr("title");
	}

}
