package cn.hnthyy.thmz.entity.thmz;

import lombok.Data;

import java.util.Date;

/**
 * 门诊token缓存表
 */
@Data
public class Token {
    //主键
    private Long id;
    //token值
    private String token;
    //token失效时间
    private Date deadTime;
    //token创建时间
    private Date createTime;

    public Token() {
    }

    public Token(String token, Date deadTime, Date createTime) {
        this.token = token;
        this.deadTime = deadTime;
        this.createTime = createTime;
    }
}
