Source code for apps.core.models.physical_unit
from .abstract_models import AbstractModel
from django.db import models
[docs]class PhysicalUnit(AbstractModel):
unit_name = models.CharField(unique=True, max_length=50, null=False)
def __str__(self):
return self.unit_name