oneuptime/Model/Models/GlobalConfig.ts
2022-08-03 20:18:01 +01:00

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;
}