package com.union.ai.api.dto;

import lombok.Data;

import java.io.Serializable;

/**
 * Created by IntelliJ IDEA.
 * Author: xingxin.jing
 * Date: 2019/3/24
 * Time: 下午8:19
 */
@Data
public class AuthDto implements Serializable {
    private static final long serialVersionUID = 9084614698599184980L;

    public AuthDto() {
    }

    public AuthDto(String token, long expireTime) {
        this.token = token;
        this.expireTime = expireTime;
    }

    private String token;

    /**
     * 失效时间 秒
     */
    private long expireTime;
}
