Newer
Older
percord / src / util / entities / ConnectionConfigEntity.ts
@Puyodead1 Puyodead1 on 19 Mar 2023 352 bytes add connections
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;
}