20 lines
622 B
Python
20 lines
622 B
Python
from django.db import models
|
|
from django.utils.translation import gettext_lazy as _
|
|
|
|
|
|
class MovablePropertyCategory(models.TextChoices):
|
|
EQUIPMENT = "equipment", _("Equipment")
|
|
MACHINERY = "machinery", _("Machinery")
|
|
FURNITURE = "furniture", _("Furniture")
|
|
ELECTRONICS = "electronics", _("Electronics")
|
|
COMMODITY = "commodity", _("Commodity/Goods")
|
|
OTHER = "other", _("Other")
|
|
|
|
|
|
class MovablePropertyCondition(models.TextChoices):
|
|
NEW = "new", _("New")
|
|
GOOD = "good", _("Good")
|
|
AVERAGE = "average", _("Average")
|
|
POOR = "poor", _("Poor/Needs repair")
|
|
SCRAP = "scrap", _("Scrap")
|