24 lines
690 B
Python
24 lines
690 B
Python
from django.db import models
|
|
from django.utils.translation import gettext_lazy as _
|
|
|
|
|
|
class QuickEvaluationStatus(models.TextChoices):
|
|
CREATED = "created", _("Created")
|
|
EVALUATOR_ASSIGNED = "evaluator_assigned", _("Evaluator assigned")
|
|
EVALUATED = "evaluated", _("Evaluated")
|
|
REJECTED = "rejected", _("Rejected")
|
|
APPROVED = "approved", _("Approved")
|
|
|
|
|
|
class CarType(models.TextChoices):
|
|
LIGHTWEIGHT = "lightweight", _("Lightweight")
|
|
TRUCK = "truck", _("Truck")
|
|
BUS = "bus", _("Bus")
|
|
MOTO = "moto", _("Moto")
|
|
|
|
|
|
class CarState(models.TextChoices):
|
|
GOOD = "good", _("Good")
|
|
SATISFACTORY = "satisfactory", _("Satisfactory")
|
|
BAD = "bad", _("Bad")
|