package com.hc.business.model;

import lombok.Data;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.io.Serializable;

/**
 * 第三方用户表(Third)实体类
 *
 * @author java
 * @since 2020-06-17 17:29:30
 */
@Data
public class ZccmThird implements Serializable {

    private static final long serialVersionUID = 449560525009961962L;

    /**
     * 主键id
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer thirdId;
    /**
     * 第三方访问TOKEN
     */
    private String thirdToken;
    /**
     * 第三方名字
     */
    private String thirdName;
    /**
     * 创建时间
     */
    private Long createTime = System.currentTimeMillis();
    /**
     * 失效时间
     */
    private Long expireTime;

}