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 BaseBrandFourS<M extends BaseBrandFourS<M>> extends Model<M> implements IBean {

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

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



	/**
	 * 4S店  主键id
	 */
	public M setId(java.lang.Long id) {
		set("id", id);
		return (M)this;
	}
	
	/**
	 * 4S店  主键id
	 */
	public java.lang.Long getId() {
		return getLong("id");
	}

	/**
	 * 类别   小车，商用车
	 */
	public M setCategory(java.lang.String category) {
		set("category", category);
		return (M)this;
	}
	
	/**
	 * 类别   小车，商用车
	 */
	public java.lang.String getCategory() {
		return getStr("category");
	}

	/**
	 * 厂家
	 */
	public M setFactory(java.lang.String factory) {
		set("factory", factory);
		return (M)this;
	}
	
	/**
	 * 厂家
	 */
	public java.lang.String getFactory() {
		return getStr("factory");
	}

	/**
	 * 品牌
	 */
	public M setBrand(java.lang.String brand) {
		set("brand", brand);
		return (M)this;
	}
	
	/**
	 * 品牌
	 */
	public java.lang.String getBrand() {
		return getStr("brand");
	}

	/**
	 * 品牌首字母
	 */
	public M setLetter(java.lang.String letter) {
		set("letter", letter);
		return (M)this;
	}
	
	/**
	 * 品牌首字母
	 */
	public java.lang.String getLetter() {
		return getStr("letter");
	}

	/**
	 * 创建时间
	 */
	public M setCreateDate(java.util.Date createDate) {
		set("create_date", createDate);
		return (M)this;
	}
	
	/**
	 * 创建时间
	 */
	public java.util.Date getCreateDate() {
		return get("create_date");
	}

}
