valuation va vihicle modellari qoshildi
This commit is contained in:
28
core/apps/evaluation/choices/vehicle.py
Normal file
28
core/apps/evaluation/choices/vehicle.py
Normal 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")
|
||||
Reference in New Issue
Block a user