package org.example.pojo;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import lombok.Data;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* @program: webSocketProject
|
* @description:
|
* @create: 2024-03-27 17:01
|
**/
|
@Data
|
@TableName("data_service_key")
|
public class DataServiceKey implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
|
/**
|
* id
|
*/
|
@TableId(type = IdType.AUTO)
|
private Integer id;
|
|
/**
|
* key
|
*/
|
private String tokenKey;
|
|
/**
|
* 是否可用 0:否 1: 是
|
*/
|
private Integer isAvailable;
|
|
/**
|
* 到期时间
|
*/
|
private Date expirationTime;
|
|
/**
|
* 添加时间
|
*/
|
private Date startTime;
|
|
/**
|
* 修改时间
|
*/
|
private Date updateTime;
|
|
/**
|
* 备注
|
*/
|
private String remark;
|
|
public DataServiceKey() {}
|
}
|