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 BaseOrgDept<M extends BaseOrgDept<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 setDeptname(java.lang.String deptname) {
		set("deptname", deptname);
		return (M)this;
	}
	
	public java.lang.String getDeptname() {
		return getStr("deptname");
	}

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

	public M setReaderauthid(java.lang.Integer readerauthid) {
		set("readerauthid", readerauthid);
		return (M)this;
	}
	
	public java.lang.Integer getReaderauthid() {
		return getInt("readerauthid");
	}

	public M setGrade(java.lang.Integer grade) {
		set("grade", grade);
		return (M)this;
	}
	
	public java.lang.Integer getGrade() {
		return getInt("grade");
	}

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

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

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

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

	public M setUpdatetime(java.util.Date updatetime) {
		set("updatetime", updatetime);
		return (M)this;
	}
	
	public java.util.Date getUpdatetime() {
		return get("updatetime");
	}

	public M setParentid(java.lang.Integer parentid) {
		set("parentid", parentid);
		return (M)this;
	}
	
	public java.lang.Integer getParentid() {
		return getInt("parentid");
	}

}
