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

@Entity('roadblock_models')
export class RoadblockModelEntity {
    @PrimaryGeneratedColumn() id: number;
    @Column({ type: 'varchar', length: 128 }) model: string;
    @Column({ type: 'varchar', length: 128 }) name: string;
    @Column({ type: 'varchar', length: 128 }) category: string;
    @Column({ type: 'json', nullable: true }) faction_ids: null | number[];
}
