valuation va vihicle modellari qoshildi

This commit is contained in:
Husanjonazamov
2026-02-13 15:38:13 +05:00
parent 4bc54f1952
commit acf426ee9b
41 changed files with 775 additions and 1 deletions

View File

@@ -0,0 +1,28 @@
from django.db import models
from django.utils.translation import gettext_lazy as _
class FuelType(models.TextChoices):
PETROL = "petrol", _("Petrol")
DIESEL = "diesel", _("Diesel")
GAS = "gas", _("Gas")
ELECTRIC = "electric", _("Electric")
HYBRID = "hybrid", _("Hybrid")
class BodyType(models.TextChoices):
HATCHBACK = "hatchback", _("Hatchback")
SEDAN = "sedan", _("Sedan")
UNIVERSAL = "universal", _("Universal")
COUPE = "coupe", _("Coupe")
CABRIOLET = "cabriolet", _("Cabriolet")
LIFTBACK = "liftback", _("Liftback")
MINIVAN = "minivan", _("Minivan")
CROSSOVER = "crossover", _("Crossover")
class VehicleCondition(models.TextChoices):
EXCELLENT = "excellent", _("Excellent")
GOOD = "good", _("Good")
AVERAGE = "average", _("Average")
NEEDS_REPAIR = "needs_repair", _("Needs repair")