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 BaseDatabase<M extends BaseDatabase<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 setParentorgid(java.lang.Integer parentorgid) {
		set("parentorgid", parentorgid);
		return (M)this;
	}
	
	public java.lang.Integer getParentorgid() {
		return getInt("parentorgid");
	}

	public M setJdbcUrl(java.lang.String jdbcUrl) {
		set("jdbcUrl", jdbcUrl);
		return (M)this;
	}
	
	public java.lang.String getJdbcUrl() {
		return getStr("jdbcUrl");
	}

	public M setUsername(java.lang.String username) {
		set("username", username);
		return (M)this;
	}
	
	public java.lang.String getUsername() {
		return getStr("username");
	}

	public M setPassword(java.lang.String password) {
		set("password", password);
		return (M)this;
	}
	
	public java.lang.String getPassword() {
		return getStr("password");
	}

	public M setDatabasename(java.lang.String databasename) {
		set("databasename", databasename);
		return (M)this;
	}
	
	public java.lang.String getDatabasename() {
		return getStr("databasename");
	}

	public M setRemark(java.lang.String remark) {
		set("remark", remark);
		return (M)this;
	}
	
	public java.lang.String getRemark() {
		return getStr("remark");
	}

	public M setStatus(java.lang.Integer status) {
		set("status", status);
		return (M)this;
	}
	
	public java.lang.Integer getStatus() {
		return getInt("status");
	}

}
