from django.db import models from django.utils.translation import gettext_lazy as _ class AutoObjectType(models.TextChoices): LIGHTWEIGHT_AUTO = "lightweight_auto", _("Yengil automobil") TRUCK_CAR = "truck_car", _("Yuk automobil") SPECIAL_TECH = "special_tech", _("Maxsus texnika") class AutoEvaluationStatus(models.TextChoices): CREATED = "yaratildi", _("Yaratildi") EVALUATOR_ASSIGNED = "baxolovchi_biriktirildi", _("Baholovchi biriktirildi") EVALUATED = "baxolandi", _("Baholandi") REJECTED = "rad_etildi", _("Rad etildi") APPROVED = "tasdiqlandi", _("Tasdiqlandi") class ObjectOwnerType(models.IntegerChoices): INDIVIDUAL = 1, _("Jismoniy shaxs") LEGAL = 2, _("Yuridik shaxs") class RateType(models.IntegerChoices): CREDIT_COLLATERAL = 1, _("Kredit ta'minoti sifatida garovga qo'yish") SALE_PURPOSE = 2, _("Sotish maqsadida bozor qiymatini aniqlash") TAX_PURPOSE = 3, _("Soliqqa tortish maqsadida") OTHER = 4, _("Boshqa") class LocationHighways(models.IntegerChoices): CENTER = 1, _("Tuman/Shahar markazi") FAR_FROM_CENTER = 2, _("Tuman/shahar markazidan uzoqda") class LocationConvenience(models.IntegerChoices): POPULATED_AREA = 1, _("Aholi gavjum hudud") MARKET_AREA = 2, _("Bozor hududi") class AutoCarType(models.IntegerChoices): HATCHBACK = 1, _("Xetchbek") UNIVERSAL = 2, _("Universal") class AutoCarWheel(models.IntegerChoices): FOUR_BY_FOUR = 1, _("4x4")