Remove tabela CarBrands e inclui rotas para recuperar marcas e modelos
This commit is contained in:
12
src/models/CarBrands.ts
Normal file
12
src/models/CarBrands.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { Entity, Column, PrimaryGeneratedColumn } from 'typeorm';
|
||||
|
||||
@Entity('carBrands')
|
||||
class CarBrands {
|
||||
@PrimaryGeneratedColumn('uuid')
|
||||
id_brand: string;
|
||||
|
||||
@Column()
|
||||
name: string;
|
||||
}
|
||||
|
||||
export default CarBrands;
|
||||
Reference in New Issue
Block a user