Initial commit
This commit is contained in:
9
core/apps/management/models/report.py
Normal file
9
core/apps/management/models/report.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from django.db import models
|
||||
|
||||
|
||||
class Report(models.Model):
|
||||
quantity = models.PositiveIntegerField(default=0)
|
||||
device = models.ForeignKey("management.Device", on_delete=models.PROTECT, null=True, blank=True)
|
||||
created_by = models.ForeignKey("accounts.User", on_delete=models.PROTECT, null=True, blank=True)
|
||||
created_at = models.DateTimeField(auto_now_add=True)
|
||||
|
||||
Reference in New Issue
Block a user