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

@Entity('vehicle_wheels')
export class VehicleWheelsEntity {
    @PrimaryGeneratedColumn() id: number;
    @Column({ type: 'int', scale: 1 }) type: number;
    @Column({ type: 'int', scale: 3 }) index: number;
    @Column({ type: 'varchar', length: 64 }) name: string;
    @Column({ type: 'varchar', length: 32 }) category: string;
    @Column({ type: 'int', scale: 3, nullable: true }) chrome_index?: number;
    @Column({ type: 'int', scale: 11 }) price: number;
}
