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

	public M setReason(java.lang.String reason) {
		set("reason", reason);
		return (M)this;
	}
	
	public java.lang.String getReason() {
		return getStr("reason");
	}

	public M setPoint(java.math.BigDecimal point) {
		set("point", point);
		return (M)this;
	}
	
	public java.math.BigDecimal getPoint() {
		return get("point");
	}

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

	public M setOperatorid(java.lang.Integer operatorid) {
		set("operatorid", operatorid);
		return (M)this;
	}
	
	public java.lang.Integer getOperatorid() {
		return getInt("operatorid");
	}

	public M setOrdernum(java.lang.Integer ordernum) {
		set("ordernum", ordernum);
		return (M)this;
	}
	
	public java.lang.Integer getOrdernum() {
		return getInt("ordernum");
	}

}
