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

@Entity('ped_components')
export class PedComponentEntity {
    @PrimaryGeneratedColumn() id: number;
    @Column() gender: number;
    @Column() component_id: number;
    @Column() drawable_id: number;
    @Column() texture_id: number;
    @Column({ type: 'varchar', length: 128 }) name: string;
    @Column({ type: 'json' }) tags: string[];

    recommended?: boolean;
}
