summary refs log tree commit diff
path: root/src/util/entities/PluginConfig.ts
blob: 2fb0c0c200bee2c525d8d34a22912491130ba8d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
import { Column, Entity } from "typeorm";
import { BaseClassWithoutId, PrimaryIdColumn } from "./BaseClass";

@Entity("plugin_config")
export class PluginConfigEntity extends BaseClassWithoutId {
	@PrimaryIdColumn()
	key: string;

	@Column({ type: "simple-json", nullable: true })
	value: number | boolean | null | string | Date | undefined;
}