package com.yutou.jianr_mg.Data;

public class User {
	private String uname;
	private String token;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column user.id
	 * @mbg.generated  Sun Jan 21 18:14:28 CST 2018
	 */
	private Integer id;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column user.name
	 * @mbg.generated  Sun Jan 21 18:14:28 CST 2018
	 */
	private String name;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column user.pass
	 * @mbg.generated  Sun Jan 21 18:14:28 CST 2018
	 */
	private String pass;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column user.IMEI
	 * @mbg.generated  Sun Jan 21 18:14:28 CST 2018
	 */
	private String imei;
	/**
	 * This field was generated by MyBatis Generator. This field corresponds to the database column user.power
	 * @mbg.generated  Sun Jan 21 18:14:28 CST 2018
	 */
	private Integer power;

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column user.id
	 * @return  the value of user.id
	 * @mbg.generated  Sun Jan 21 18:14:28 CST 2018
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column user.id
	 * @param id  the value for user.id
	 * @mbg.generated  Sun Jan 21 18:14:28 CST 2018
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column user.name
	 * @return  the value of user.name
	 * @mbg.generated  Sun Jan 21 18:14:28 CST 2018
	 */
	public String getName() {
		return name;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column user.name
	 * @param name  the value for user.name
	 * @mbg.generated  Sun Jan 21 18:14:28 CST 2018
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column user.pass
	 * @return  the value of user.pass
	 * @mbg.generated  Sun Jan 21 18:14:28 CST 2018
	 */
	public String getPass() {
		return pass;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column user.pass
	 * @param pass  the value for user.pass
	 * @mbg.generated  Sun Jan 21 18:14:28 CST 2018
	 */
	public void setPass(String pass) {
		this.pass = pass;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column user.IMEI
	 * @return  the value of user.IMEI
	 * @mbg.generated  Sun Jan 21 18:14:28 CST 2018
	 */
	public String getImei() {
		return imei;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column user.IMEI
	 * @param imei  the value for user.IMEI
	 * @mbg.generated  Sun Jan 21 18:14:28 CST 2018
	 */
	public void setImei(String imei) {
		this.imei = imei;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column user.power
	 * @return  the value of user.power
	 * @mbg.generated  Sun Jan 21 18:14:28 CST 2018
	 */
	public Integer getPower() {
		return power;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column user.power
	 * @param power  the value for user.power
	 * @mbg.generated  Sun Jan 21 18:14:28 CST 2018
	 */
	public void setPower(Integer power) {
		this.power = power;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public String getUname() {
		return uname;
	}

	public void setUname(String uname) {
		this.uname = uname;
	}

	@Override
	public String toString() {
		return "User{" +
				"token='" + token + '\'' +
				", id=" + id +
				", name='" + name + '\'' +
				", pass='" + pass + '\'' +
				", imei='" + imei + '\'' +
				", power=" + power +
				'}';
	}
}