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

@Entity('vehicle_colors')
export class VehicleColorEntity {
    @PrimaryGeneratedColumn() id: number;
    @Column({ type: 'varchar', length: '32' }) name: string;
    @Column({ type: 'varchar', length: '16' }) type: string;
    @Column({ type: 'varchar', length: '7' }) hex: string;
    @Column() price: number;
}
