22 lines
693 B
Python
22 lines
693 B
Python
from django.db import models
|
|
from django.utils.translation import gettext_lazy as _
|
|
|
|
|
|
class EvaluationRateType(models.TextChoices):
|
|
AUTO = "auto", _("Automobil")
|
|
REAL_ESTATE = "real_estate", _("Ko'chmas mulk")
|
|
EQUIPMENT = "equipment", _("Uskuna")
|
|
|
|
|
|
class RequestObjectType(models.TextChoices):
|
|
LIGHTWEIGHT_AUTO = "lightweight_auto", _("Yengil automobil")
|
|
TRUCK_CAR = "truck_car", _("Yuk automobil")
|
|
SPECIAL_TECH = "special_tech", _("Maxsus texnika")
|
|
|
|
|
|
class RequestStatus(models.TextChoices):
|
|
PENDING = "pending", _("Kutilmoqda")
|
|
IN_PROGRESS = "in_progress", _("Jarayonda")
|
|
COMPLETED = "completed", _("Bajarildi")
|
|
REJECTED = "rejected", _("Rad etildi")
|