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 BaseRole<M extends BaseRole<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 setRolename(java.lang.String rolename) {
		set("rolename", rolename);
		return (M)this;
	}
	
	public java.lang.String getRolename() {
		return getStr("rolename");
	}

	public M setMemo(java.lang.String memo) {
		set("memo", memo);
		return (M)this;
	}
	
	public java.lang.String getMemo() {
		return getStr("memo");
	}

	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 setUpdatetime(java.util.Date updatetime) {
		set("updatetime", updatetime);
		return (M)this;
	}
	
	public java.util.Date getUpdatetime() {
		return get("updatetime");
	}

	public M setUpdateuserid(java.lang.Integer updateuserid) {
		set("updateuserid", updateuserid);
		return (M)this;
	}
	
	public java.lang.Integer getUpdateuserid() {
		return getInt("updateuserid");
	}

}
