mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-23 15:49:10 +00:00
33 lines
415 B
TypeScript
33 lines
415 B
TypeScript
import { Column, Entity, Index } from 'typeorm';
|
|
import BaseModel from './BaseModel';
|
|
|
|
@Entity({
|
|
name: "SslCertificateManager"
|
|
})
|
|
export default class Model extends BaseModel {
|
|
|
|
@Column()
|
|
subject!: string;
|
|
|
|
@Column()
|
|
altnames!: Array<string>;
|
|
|
|
@Column()
|
|
renewAt!: Date;
|
|
|
|
@Column()
|
|
expiresAt!: Date;
|
|
|
|
@Column()
|
|
issuedAt!: Date;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|