1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
| package com.matrix.system.common.bean;
|
|
| import com.baomidou.mybatisplus.annotation.IdType;
| import com.baomidou.mybatisplus.annotation.TableId;
| import lombok.Data;
|
|
| /**
| * 缓存对象
| */
| @Data
| public class SysCacheValue {
|
|
| @TableId(type= IdType.AUTO)
| private Long id;
| /**
| * 缓存key
| */
| private String cacheKey;
| /**
| * 过期时间,0 表示不过期,单位毫秒
| */
| private Long timeOut ;
| /**
| * 缓存值
| */
| private String cacheValue;
| /**
| * 类型名称
| */
| private String className;
|
| /**
| * 缓存创建时间
| */
| private Long createTime;
| }
|
|