package com.bonus.gs.sub.evaluate.manager.entity;

import java.io.Serializable;

/**
 * Restful方式登陆token
 * 
 * @author 小威老师 xiaoweijiagou@163.com
 *
 *         2017年8月4日
 */
public class Token implements Serializable {

	private static final long serialVersionUID = 6314027741784310221L;

	private String token;
	/** 登陆时间戳（毫秒） */
	private Long loginTime;

	private LoginUser loginUser;

	public Token(String token, Long loginTime,LoginUser loginUser) {
		super();
		this.token = token;
		this.loginTime = loginTime;
		this.loginUser = loginUser;
	}

	public String getToken() {
		return token;
	}

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

	public Long getLoginTime() {
		return loginTime;
	}

	public void setLoginTime(Long loginTime) {
		this.loginTime = loginTime;
	}

	public LoginUser getLoginUser() {
		return loginUser;
	}

	public void setLoginUser(LoginUser loginUser) {
		this.loginUser = loginUser;
	}
}
