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 BaseReaderCollection<M extends BaseReaderCollection<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 setBookid(java.lang.Integer bookid) {
		set("bookid", bookid);
		return (M)this;
	}
	
	public java.lang.Integer getBookid() {
		return getInt("bookid");
	}

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

}
