package org.ruoyi.common.wechat.web.model.base;

import com.jfinal.plugin.activerecord.IBean;
import com.jfinal.plugin.activerecord.Model;

/**
 * Generated by JFinal, do not modify this file.
 */
@SuppressWarnings({"serial", "unchecked"})
public abstract class BaseWxRobConfig<M extends BaseWxRobConfig<M>> extends Model<M> implements IBean {

	public M setId(Long id) {
		set("id", id);
		return (M)this;
	}

	public Long getId() {
		return getLong("id");
	}

	public M setUniqueKey(String uniqueKey) {
		set("unique_key", uniqueKey);
		return (M)this;
	}

	public String getUniqueKey() {
		return getStr("unique_key");
	}

	public M setRemark(String remark) {
		set("remark", remark);
		return (M)this;
	}

	public String getRemark() {
		return getStr("remark");
	}

	public M setCreateTime(java.util.Date createTime) {
		set("create_time", createTime);
		return (M)this;
	}

	public java.util.Date getCreateTime() {
		return get("create_time");
	}

	public M setUpdateTime(java.util.Date updateTime) {
		set("update_time", updateTime);
		return (M)this;
	}

	public java.util.Date getUpdateTime() {
		return get("update_time");
	}

	public M setToFriend(Boolean toFriend) {
		set("to_friend", toFriend);
		return (M)this;
	}

	public Boolean getToFriend() {
		return get("to_friend");
	}

	public M setToGroup(Boolean toGroup) {
		set("to_group", toGroup);
		return (M)this;
	}

	public Boolean getToGroup() {
		return get("to_group");
	}

	public M setDefaultFriend(Boolean defaultFriend) {
		set("default_friend", defaultFriend);
		return (M)this;
	}

	public Boolean getDefaultFriend() {
		return get("default_friend");
	}

	public M setDefaultGroup(Boolean defaultGroup) {
		set("default_group", defaultGroup);
		return (M)this;
	}

	public Boolean getDefaultGroup() {
		return get("default_group");
	}

	public M setFromOut(Boolean fromOut) {
		set("from_out", fromOut);
		return (M)this;
	}

	public Boolean getFromOut() {
		return get("from_out");
	}

	public M setEnable(Boolean enable) {
		set("enable", enable);
		return (M)this;
	}

	public Boolean getEnable() {
		return get("enable");
	}

}
