package kr.co.uplus.ez.api.login.dto;

import java.io.Serializable;
import java.util.ArrayList;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@SuppressWarnings("serial")
@Data
public class LoginRes implements Serializable {

	@ApiModelProperty(name = "메인 URL", example = "메인 URL", dataType = "String")
	private String nextUrl;

	@ApiModelProperty(name = "사용자ID", example = "사용자ID", dataType = "String")
	private String userId;

	@ApiModelProperty(name = "사용자명", example = "사용자명", dataType = "String")
	private String userNm;

	/** 접근 토큰*/
	@ApiModelProperty(hidden = true)
	private String accessToken;
	/** 권한 토큰*/
	@ApiModelProperty(hidden = true)
	private String authToken;
	/** 리프레쉬 토큰*/
	@ApiModelProperty(hidden = true)
	private String refreshToken;
	
	/** 메뉴 url*/
	private ArrayList<String> menuUrls;
	
	public LoginRes(String nextUrl) {
		super();
		this.nextUrl = nextUrl;
	}


	public LoginRes() {
		super();
	}
}
