mirror of
https://github.com/spacebarchat/server.git
synced 2026-09-17 08:05:45 +00:00
11 lines
323 B
TypeScript
11 lines
323 B
TypeScript
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;
|
|
} |