package com.cesgroup.mybatiswork.entity;

import java.io.Serializable;

import com.alibaba.fastjson.JSONObject;

/**
 * @Description: 用户类
 * @Param:
 * @return:
 * @Author: Sakamoto
 */
public class User implements Serializable {
	/**
	 *
	 */
	private static final long serialVersionUID = 1L;
	
	public int getId() {
		return id;
	}
	
	public void setId(int id) {
		this.id = id;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public JSONObject getInfo() {
		return info;
	}
	
	public void setInfo(JSONObject info) {
		this.info = info;
	}
	
	@Override
	public String toString() {
		return "User [id=" + id + ", name=" + name + ", info=" + JSONObject.toJSONString(info) + "]";
	}
	
	int id;
	String name;
	JSONObject info;
	
}
