扫码王业务代码
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
package cn.pluss.platform.entity;
|
||||
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* CREATE TABLE `tb_pluss_access_channel_cipher_code` (
|
||||
* `id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
* `orgId` varchar(50) DEFAULT NULL COMMENT '机构号id',
|
||||
* `priKey` longtext COMMENT '私钥,用于返回(回调)数据签名;以及渠道数据解密',
|
||||
* `pubKey` longtext COMMENT '公钥加密,给到渠道接口数据加密',
|
||||
* `orgPubKey` longtext COMMENT '机构公钥',
|
||||
* `orgPriKey` longtext COMMENT '机构私钥,测试使用字段',
|
||||
* `createTime` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
||||
* PRIMARY KEY (`id`) USING BTREE,
|
||||
* KEY `uniq` (`orgId`) USING BTREE
|
||||
* ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COMMENT='接入渠道秘钥表';
|
||||
*/
|
||||
@Setter
|
||||
@Getter
|
||||
public class AccessChannelCipherCode {
|
||||
|
||||
@TableId
|
||||
private Long id;
|
||||
|
||||
private String orgId;
|
||||
|
||||
/**
|
||||
* 平台私钥
|
||||
*/
|
||||
private String priKey;
|
||||
|
||||
/**
|
||||
* 平台公钥
|
||||
*/
|
||||
private String pubKey;
|
||||
|
||||
/**
|
||||
* 机构公钥
|
||||
*/
|
||||
private String orgPubKey;
|
||||
|
||||
/**
|
||||
* 机构私钥
|
||||
*/
|
||||
private String orgPriKey;
|
||||
|
||||
@JSONField(format = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime createTime;
|
||||
}
|
||||
Reference in New Issue
Block a user