mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-24 00:12:06 +00:00
47 lines
639 B
TypeScript
47 lines
639 B
TypeScript
|
import { Column, Entity, Index } from 'typeorm';
|
||
|
import BaseModel from './BaseModel';
|
||
|
|
||
|
@Entity({
|
||
|
name: "SslCertificate"
|
||
|
})
|
||
|
export default class SslCertificate extends BaseModel {
|
||
|
|
||
|
@Column()
|
||
|
certificateId!: string;
|
||
|
|
||
|
@Column()
|
||
|
privateKeyPem!: string;
|
||
|
|
||
|
@Column()
|
||
|
privateKeyJwk!: string;
|
||
|
|
||
|
@Column()
|
||
|
cert!: string;
|
||
|
|
||
|
@Column()
|
||
|
chain!: string;
|
||
|
|
||
|
@Column()
|
||
|
privKey!: string;
|
||
|
|
||
|
@Column()
|
||
|
subject!: string;
|
||
|
|
||
|
@Column()
|
||
|
altnames!: string;
|
||
|
|
||
|
@Column()
|
||
|
issuedAt!: Date;
|
||
|
|
||
|
@Column()
|
||
|
expiresAt!: Date;
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|