19 lines
637 B
Python
19 lines
637 B
Python
from django.db import models
|
|
from django.utils.translation import gettext_lazy as _
|
|
|
|
|
|
class PropertyType(models.TextChoices):
|
|
APARTMENT = "apartment", _("Apartment")
|
|
HOUSE = "house", _("House")
|
|
OFFICE = "office", _("Office")
|
|
LAND = "land", _("Land")
|
|
COMMERCIAL = "commercial", _("Commercial")
|
|
INDUSTRIAL = "industrial", _("Industrial")
|
|
|
|
|
|
class RealEstateCondition(models.TextChoices):
|
|
NEW = "new", _("New (Rough finish)")
|
|
FINISHED = "finished", _("Finished (Standard/Euro)")
|
|
REPAIR_REQUIRED = "repair_required", _("Needs repair")
|
|
UNDER_CONSTRUCTION = "under_construction", _("Under construction")
|