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

@Entity('vehicle_engine')
export class VehicleEngineEntity {
    @PrimaryGeneratedColumn() id: number;
    @Column() level: number;

    @Column({ type: 'varchar', length: 32 }) name: string;
    @Column({ type: 'varchar', length: 255 }) description: string;

    @Column({ type: 'boolean', default: false }) dealership: boolean;
}