package com.skr.mdm.dto;

import lombok.Builder;
import lombok.Data;

import java.io.Serializable;

/**
 * @author nfq
 */
@Data
@Builder
public class TokenDTO implements Serializable {

    private static final long serialVersionUID = 6314027741784310221L;

    private String access_token;

    private String refresh_token;

    private Long loginTime;

    private Long expirationTime;

    public TokenDTO(String access_token, String refresh_token, Long loginTime, Long expirationTime) {
        super();
        this.access_token = access_token;
        this.refresh_token = refresh_token;
        this.loginTime = loginTime;
        this.expirationTime = expirationTime;
    }
}
