mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-23 15:49:10 +00:00
38 lines
581 B
TypeScript
38 lines
581 B
TypeScript
|
|
|
|
import { Column, Entity, Index } from 'typeorm';
|
|
import BaseModel from './BaseModel';
|
|
import StatusPage from './StatusPage';
|
|
import StatusPageCategory from './StatusPageCategory';
|
|
import Monitor from './Monitor';
|
|
|
|
@Entity({
|
|
name: "StatusPageChartType"
|
|
})
|
|
export default class StatusPageChartType extends BaseModel {
|
|
|
|
@Column()
|
|
statusPage!: StatusPage
|
|
|
|
@Column()
|
|
monitor!: Monitor;
|
|
|
|
@Column()
|
|
statusPageCategory!: StatusPageCategory
|
|
|
|
@Column()
|
|
resourceDescription!: string;
|
|
|
|
@Column()
|
|
chartTypes!: Array<StatusPageChartType>
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|