mirror of
https://github.com/spacebarchat/server.git
synced 2026-09-26 11:38:29 +00:00
12 lines
352 B
TypeScript
12 lines
352 B
TypeScript
import { Column, Entity } from "typeorm";
|
|
import { BaseClassWithoutId, PrimaryIdColumn } from "./BaseClass";
|
|
|
|
@Entity("connection_config")
|
|
export class ConnectionConfigEntity extends BaseClassWithoutId {
|
|
@PrimaryIdColumn()
|
|
key: string;
|
|
|
|
@Column({ type: "simple-json", nullable: true })
|
|
value: number | boolean | null | string | Date | undefined;
|
|
}
|