oneuptime/Common/Models/StatusPageDomains.ts
Simon Larsen f0c0715f36
fix
2022-04-29 20:52:23 +01:00

38 lines
604 B
TypeScript

import { Column, Entity, Index } from 'typeorm';
import BaseModel from './BaseModel';
import User from './User';
import StatusPage from './StatusPage';
import DomainVerificationToken from './DomainVerificationToken';
@Entity({
name: "StatusPageDomains"
})
export default class StatusPageDomains extends BaseModel {
@Column()
statusPage!: StatusPage;
@Column()
domain!: string;
@Column()
certificate!: User;
@Column()
privateKey!: User;
@Column()
autoProvisioning!: boolean;
@Column()
domainVerificationToken!: DomainVerificationToken;
}