Picsur/backend/src/database/entities/system/system-state.entity.ts
2022-12-26 12:49:42 +01:00

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;
}