mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-19 22:42:17 +00:00
@@ -189,3 +189,7 @@ class Asset(models.Model, RevisionMixin):
|
||||
@property
|
||||
def display_id(self):
|
||||
return str(self.asset_id)
|
||||
|
||||
@property
|
||||
def name(self):
|
||||
return f"{self.display_id} | {self.description}"
|
||||
|
||||
Reference in New Issue
Block a user