package com.jzdsh.auto.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 BaseHelpInfo<M extends BaseHelpInfo<M>> extends Model<M> implements IBean {

	/**
	 * 表名
	 */
	public static final String TableName = "help_info";

	/**
	 * select fields from tablename 根据查询字段自动构建select 语句
	 */
	public static String SelectFrom(String fields){
		return String.format("select %s from %s ",fields,TableName);
	}



	/**
	 * 自增id
	 */
	public M setId(java.lang.Integer id) {
		set("id", id);
		return (M)this;
	}
	
	/**
	 * 自增id
	 */
	public java.lang.Integer getId() {
		return getInt("id");
	}

	/**
	 * 标题
	 */
	public M setTitle(java.lang.String title) {
		set("title", title);
		return (M)this;
	}
	
	/**
	 * 标题
	 */
	public java.lang.String getTitle() {
		return getStr("title");
	}

	/**
	 * 详情
	 */
	public M setInfo(java.lang.String info) {
		set("info", info);
		return (M)this;
	}
	
	/**
	 * 详情
	 */
	public java.lang.String getInfo() {
		return getStr("info");
	}

	/**
	 * 帮组类型(bs_type)
	 */
	public M setTypeId(java.lang.Integer typeId) {
		set("typeId", typeId);
		return (M)this;
	}
	
	/**
	 * 帮组类型(bs_type)
	 */
	public java.lang.Integer getTypeId() {
		return getInt("typeId");
	}

	/**
	 * 排序
	 */
	public M setSort(java.lang.Integer sort) {
		set("sort", sort);
		return (M)this;
	}
	
	/**
	 * 排序
	 */
	public java.lang.Integer getSort() {
		return getInt("sort");
	}

	/**
	 * 发布时间
	 */
	public M setReleaseTime(java.util.Date releaseTime) {
		set("releaseTime", releaseTime);
		return (M)this;
	}
	
	/**
	 * 发布时间
	 */
	public java.util.Date getReleaseTime() {
		return get("releaseTime");
	}

}
