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")