mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-23 15:49:10 +00:00
25 lines
625 B
TypeScript
25 lines
625 B
TypeScript
import { Column, Entity } from 'typeorm';
|
|
import Role from '../Types/Role';
|
|
import BaseModel from './BaseModel';
|
|
import Project from './Project';
|
|
import User from './User';
|
|
|
|
@Entity({
|
|
name: "ProjectAlertBalance"
|
|
})
|
|
export default class ProjectAlertBalance extends BaseModel {
|
|
@Column({ nullable: false })
|
|
minimumBalance!: number;
|
|
|
|
@Column({ type: "text", nullable: false })
|
|
rechargeToBalance!: number
|
|
|
|
@Column({ nullable: false })
|
|
sendAlertsToUS!: boolean
|
|
|
|
@Column({ nullable: false })
|
|
sendAlertsToNonUS!: boolean
|
|
|
|
@Column({ nullable: false })
|
|
sendAlertsToHighRisk!: boolean
|
|
} |