package com.cym.utils.cert.ssl;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import java.util.Date;

/**
 * 
 *
 * @author czh
 * @data 2020/10/10 9:26
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@Table(name = "tb_ssl_basic_info")
public class SSLBasicInfo {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private     Integer id;
    private     String  domain;

    //序列号
    private String serialNum;
    //版本
    private String    version;
    //加密算法
    private String encryptionAlgorithm;
    //签名算法
    private String signatureAlgorithm;

    //证书类型
    private String certificateType;
    //证书品牌
    private String certificateBrand;
    //sha256指纹
    private String sha256Fingerprint;
    //签发时间
    private Date   issueDate;
    //到期时间
    private Date   deadlineDate;



    private String themeAll;

    private String themeCn;
    private String themeO;
    private String themeOu;
    private String themeL;
    private String themeSt;
    private String themeC;


    private String issueAll;

    private String issueCn;
    private String issueO;
    private String issueC;

    private Date createTime;
    private Date updateTime;
}
