package com.cyksj.model.dto;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author valor.
 * @date 2019-07-24 14:54
 */
@Getter
@Setter
@Accessors(chain = true)
public class Authentication {

    private long id;

    private Date time;
    /**
     * 记录用户最近一次登录时间
     */
    private long entry;

    public Authentication() {
        this.entry = System.currentTimeMillis();
    }

}
