ca管理
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package com.sunyard.chsm.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.sunyard.chsm.model.entity.CaCert;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
/**
|
||||
* @author liulu
|
||||
* @since 2024/11/6
|
||||
*/
|
||||
@Mapper
|
||||
public interface CaCertMapper extends BaseMapper<CaCert> {
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
package com.sunyard.chsm.model.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @author liulu
|
||||
* @since 2024/11/11
|
||||
*/
|
||||
@Data
|
||||
@TableName("sp_ca_cert")
|
||||
public class CaCert {
|
||||
|
||||
private Long id;
|
||||
private String caName;
|
||||
private String caUrl;
|
||||
// SM2, RSA
|
||||
private String keyAlg;
|
||||
private String status;
|
||||
private String subject;
|
||||
private String serialNumber;
|
||||
private String issuerDn;
|
||||
private Date notBefore;
|
||||
private Date notAfter;
|
||||
private String pubKey;
|
||||
|
||||
private String certText;
|
||||
|
||||
private String remark;
|
||||
private LocalDateTime createTime;
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user