blob: 606fe9013e9a39ed268303d538def1b5288fe6a0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
import { Column, Entity } from "typeorm";
import { BaseClassWithoutId, PrimaryIdColumn } from "./BaseClass";
@Entity("config")
export class ConfigEntity extends BaseClassWithoutId {
@PrimaryIdColumn()
key: string;
@Column({ type: "simple-json", nullable: true })
value: number | boolean | null | string | undefined;
}
|