15 lines
291 B
TypeScript
15 lines
291 B
TypeScript
import { Column, Entity, Index, PrimaryGeneratedColumn } from 'typeorm';
|
|
|
|
@Entity()
|
|
export class ESystemStateBackend {
|
|
@PrimaryGeneratedColumn('uuid')
|
|
id?: string;
|
|
|
|
@Index()
|
|
@Column({ nullable: false, unique: true })
|
|
key: string;
|
|
|
|
@Column({ nullable: false })
|
|
value: string;
|
|
}
|