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;
|
}
|