import { Column, Entity, PrimaryGeneratedColumn } from 'typeorm';

@Entity('entity_options')
export class EntityOptionEntity {
    @PrimaryGeneratedColumn() id: number;
    @Column({ type: 'varchar', length: '32' }) entity_type: string;
    @Column() entity_id: number;
    @Column({ type: 'varchar', length: '32' }) option: string;
    @Column({ type: 'varchar', length: '32' }) value: string;
}
