mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-23 07:42:10 +00:00
18 lines
372 B
TypeScript
Executable File
18 lines
372 B
TypeScript
Executable File
import { Column, Entity } from 'typeorm';
|
|
import { JSONObject } from 'Common/Types/JSON';
|
|
import BaseModel from 'Common/Models/BaseModel';
|
|
|
|
@Entity({
|
|
name: 'GlobalConfig',
|
|
})
|
|
export default class GlobalConfig extends BaseModel {
|
|
@Column()
|
|
public name?: string = undefined;
|
|
|
|
@Column()
|
|
public value?: JSONObject;
|
|
|
|
@Column()
|
|
public iv?: Buffer;
|
|
}
|