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 BaseCollection<M extends BaseCollection<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 setOrgid(java.lang.Integer orgid) {
		set("orgid", orgid);
		return (M)this;
	}
	
	public java.lang.Integer getOrgid() {
		return getInt("orgid");
	}

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

	public M setBookid(java.lang.Integer bookid) {
		set("bookid", bookid);
		return (M)this;
	}
	
	public java.lang.Integer getBookid() {
		return getInt("bookid");
	}

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

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

}
