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

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

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



	/**
	 * 登录日志
	 */
	public M setId(java.lang.Long id) {
		set("id", id);
		return (M)this;
	}
	
	/**
	 * 登录日志
	 */
	public java.lang.Long getId() {
		return getLong("id");
	}

	/**
	 * 登录用户
	 */
	public M setUid(java.lang.Integer uid) {
		set("uid", uid);
		return (M)this;
	}
	
	/**
	 * 登录用户
	 */
	public java.lang.Integer getUid() {
		return getInt("uid");
	}

	/**
	 * 登录时间
	 */
	public M setLoginTime(java.util.Date loginTime) {
		set("loginTime", loginTime);
		return (M)this;
	}
	
	/**
	 * 登录时间
	 */
	public java.util.Date getLoginTime() {
		return get("loginTime");
	}

}
