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 BaseMessageConfig<M extends BaseMessageConfig<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 setPath(java.lang.String path) {
		set("path", path);
		return (M)this;
	}
	
	public java.lang.String getPath() {
		return getStr("path");
	}

	public M setTimeInterval(java.lang.String timeInterval) {
		set("time_interval", timeInterval);
		return (M)this;
	}
	
	public java.lang.String getTimeInterval() {
		return getStr("time_interval");
	}

	public M setMessageUrl(java.lang.String messageUrl) {
		set("message_url", messageUrl);
		return (M)this;
	}
	
	public java.lang.String getMessageUrl() {
		return getStr("message_url");
	}

	public M setPercentage(java.lang.Integer percentage) {
		set("percentage", percentage);
		return (M)this;
	}
	
	public java.lang.Integer getPercentage() {
		return getInt("percentage");
	}

	public M setFileSize(java.lang.Integer fileSize) {
		set("file_size", fileSize);
		return (M)this;
	}
	
	public java.lang.Integer getFileSize() {
		return getInt("file_size");
	}

	public M setFlag(java.lang.String flag) {
		set("flag", flag);
		return (M)this;
	}
	
	public java.lang.String getFlag() {
		return getStr("flag");
	}

	public M setUserId(java.lang.String userId) {
		set("userId", userId);
		return (M)this;
	}
	
	public java.lang.String getUserId() {
		return getStr("userId");
	}

	public M setType(java.lang.String type) {
		set("type", type);
		return (M)this;
	}
	
	public java.lang.String getType() {
		return getStr("type");
	}

}
