from django.db import models

# Create your models here.

class VehicleTypes(models.Model):
    id : models.AutoField(primary_key=True)
    name = models.CharField(max_length=255, blank=False, null=False)
    created_at = models.DateTimeField(auto_now_add=True)
    updated_at = models.DateTimeField(auto_now_add=True)

    class Meta:
        managed = False
        db_table = 'vehicles_vehicletypes'


class VehicleModels(models.Model):
    id : models.AutoField(primary_key=True)
    name = models.CharField(max_length=255, blank=False, null=False)
    created_at = models.DateTimeField(auto_now_add=True)
    updated_at = models.DateTimeField(auto_now_add=True)

    class Meta:
        managed = False
        db_table = 'vehicles_vehiclemodels'
        

class TransmissionTypes(models.Model):
    id : models.AutoField(primary_key=True)
    name = models.CharField(max_length=255, blank=False, null=False)
    created_at = models.DateTimeField(auto_now_add=True)
    updated_at = models.DateTimeField(auto_now_add=True)

    class Meta:
        managed = False
        db_table = 'vehicles_transmissiontypes'
    
