package com.jfinal.club.common.model.base;

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

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

	public void setId(java.lang.Integer id) {
		set("id", id);
	}
	
	public java.lang.Integer getId() {
		return getInt("id");
	}

	public void setQuesname(java.lang.String quesname) {
		set("quesname", quesname);
	}
	
	public java.lang.String getQuesname() {
		return getStr("quesname");
	}

	public void setQuestext(java.lang.String questext) {
		set("questext", questext);
	}
	
	public java.lang.String getQuestext() {
		return getStr("questext");
	}

	public void setUsersid(java.lang.Integer usersid) {
		set("usersid", usersid);
	}
	
	public java.lang.Integer getUsersid() {
		return getInt("usersid");
	}

	public void setQuesimg(java.lang.String quesimg) {
		set("quesimg", quesimg);
	}
	
	public java.lang.String getQuesimg() {
		return getStr("quesimg");
	}

	public void setAddtime(java.util.Date addtime) {
		set("addtime", addtime);
	}
	
	public java.util.Date getAddtime() {
		return get("addtime");
	}

	/**
	 * 0 默认 1匿名
	 */
	public void setAnonymous(java.lang.Integer anonymous) {
		set("anonymous", anonymous);
	}
	
	/**
	 * 0 默认 1匿名
	 */
	public java.lang.Integer getAnonymous() {
		return getInt("anonymous");
	}

	/**
	 * 0 默认 1推荐
	 */
	public void setTops(java.lang.Integer tops) {
		set("tops", tops);
	}
	
	/**
	 * 0 默认 1推荐
	 */
	public java.lang.Integer getTops() {
		return getInt("tops");
	}

	/**
	 * 0 默认 1通过
	 */
	public void setStatus(java.lang.Integer status) {
		set("status", status);
	}
	
	/**
	 * 0 默认 1通过
	 */
	public java.lang.Integer getStatus() {
		return getInt("status");
	}

	/**
	 * 0 默认 1最新推荐
	 */
	public void setNews(java.lang.Integer news) {
		set("news", news);
	}
	
	/**
	 * 0 默认 1最新推荐
	 */
	public java.lang.Integer getNews() {
		return getInt("news");
	}

	/**
	 * 问题类型
	 */
	public void setDoctype(java.lang.Integer doctype) {
		set("doctype", doctype);
	}
	
	/**
	 * 问题类型
	 */
	public java.lang.Integer getDoctype() {
		return getInt("doctype");
	}

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

}
