mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
23 lines
567 B
TypeScript
23 lines
567 B
TypeScript
import { Column, Entity } from 'typeorm';
|
|
import BaseModel from './BaseModel';
|
|
|
|
@Entity({
|
|
name: 'ProjectAlertBalance',
|
|
})
|
|
export default class ProjectAlertBalance extends BaseModel {
|
|
@Column({ nullable: false })
|
|
public minimumBalance!: number;
|
|
|
|
@Column({ type: 'text', nullable: false })
|
|
public rechargeToBalance!: number;
|
|
|
|
@Column({ nullable: false })
|
|
public sendAlertsToUS!: boolean;
|
|
|
|
@Column({ nullable: false })
|
|
public sendAlertsToNonUS!: boolean;
|
|
|
|
@Column({ nullable: false })
|
|
public sendAlertsToHighRisk!: boolean;
|
|
}
|