valuation va vihicle modellari qoshildi
This commit is contained in:
33
core/apps/evaluation/choices/valuation.py
Normal file
33
core/apps/evaluation/choices/valuation.py
Normal file
@@ -0,0 +1,33 @@
|
||||
from django.db import models
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
|
||||
class EvaluationPurpose(models.TextChoices):
|
||||
SALE = "sale", _("Sale")
|
||||
BANK = "bank", _("Bank/Loan")
|
||||
INSURANCE = "insurance", _("Insurance")
|
||||
INHERITANCE = "inheritance", _("Inheritance")
|
||||
COURT = "court", _("Court/Judicial")
|
||||
OTHER = "other", _("Other")
|
||||
|
||||
|
||||
class EvaluationType(models.TextChoices):
|
||||
AUTO = "auto", _("Auto")
|
||||
REAL_ESTATE = "real_estate", _("Real Estate")
|
||||
MOVABLE_PROPERTY = "movable_property", _("Movable Property")
|
||||
|
||||
|
||||
class ValuationStatus(models.TextChoices):
|
||||
DRAFT = "draft", _("Draft")
|
||||
PENDING = "pending", _("Pending")
|
||||
IN_REVIEW = "in_review", _("In Review")
|
||||
APPROVED = "approved", _("Approved")
|
||||
REJECTED = "rejected", _("Rejected")
|
||||
PAID = "paid", _("Paid")
|
||||
COMPLETED = "completed", _("Completed")
|
||||
|
||||
|
||||
class PaymentStatus(models.TextChoices):
|
||||
UNPAID = "unpaid", _("Unpaid")
|
||||
PENDING = "pending", _("Pending")
|
||||
PAID = "paid", _("Paid")
|
||||
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