TokenEntity.java 712 Bytes
package com.huaheng.api.xinyi.domian;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * token实体
 * @author Enzo Cotter
 * @date 2019/12/20
 */
@Data
@TableName(value = "token_entity")
public class TokenEntity implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "access_token")
    private String access_token;

    @TableField(value = "token_type")
    private String token_type;

//    private AuthUser authUser;
}