puzhibing
2025-02-06 fd90eaebe2d70d1f7cf7ee511f084e0b97fc16a2
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
package com.ruoyi.other.api.domain;
 
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 com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
 
import java.time.LocalDateTime;
 
/**
 * 运营商信息
 * @author zhibing.pu
 * @Date 2025/1/22 15:05
 */
@Data
@TableName("t_operator")
public class Operator {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 运营商唯一码
     */
    @TableField("operatorId")
    private String operatorId;
    /**
     * 运营商名称
     */
    @TableField("name")
    private String name;
    /**
     * 运营商秘钥
     */
    @TableField("operatorSecret")
    private String operatorSecret;
    /**
     * 数据加密秘钥
     */
    @TableField("dataSecret")
    private String dataSecret;
    /**
     * 初始化向量
     */
    @TableField("dataSecretIv")
    private String dataSecretIv;
    /**
     * 签名秘钥
     */
    @TableField("sigSecret")
    private String sigSecret;
    /**
     * 测试接口地址
     */
    @TableField("test_url")
    private String testUrl;
    /**
     * 接口地址
     */
    @TableField("url")
    private String url;
    /**
     * 各平台登录token
     */
    @TableField("accessToken")
    private String accessToken;
    /**
     * token过期时间(秒)
     */
    @TableField("tokenAvailableTime")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime tokenAvailableTime;
    /**
     * 我方运营商唯一码
     */
    @TableField("ourOperatorId")
    private String ourOperatorId;
    /**
     * 我方运营商名称
     */
    @TableField("ourName")
    private String ourName;
    /**
     * 我方运营商秘钥
     */
    @TableField("ourOperatorSecret")
    private String ourOperatorSecret;
    /**
     * 我方数据加密秘钥
     */
    @TableField("ourDataSecret")
    private String ourDataSecret;
    /**
     * 我方初始化向量
     */
    @TableField("ourDataSecretIv")
    private String ourDataSecretIv;
    /**
     * 我方签名秘钥
     */
    @TableField("ourSigSecret")
    private String ourSigSecret;
    /**
     * token
     */
    @TableField(exist = false)
    private String token;
    /**
     * 登录时间
     */
    @TableField(exist = false)
    private Long loginTime;
    /**
     * 过期时间
     */
    @TableField(exist = false)
    private Long expireTime;
}