add mac field to device model

This commit is contained in:
2025-09-14 11:20:25 +03:30
parent ea904c2fd2
commit 88c8a55bcb
2 changed files with 19 additions and 0 deletions

View File

@@ -33,6 +33,7 @@ class Device(BaseModel):
device_identity = models.CharField(max_length=25, null=True)
acceptor = models.CharField(max_length=50, null=True)
terminal = models.CharField(max_length=50, null=True)
mac = models.CharField(max_length=50, null=True)
serial = models.TextField(null=True, unique=True)
password = models.CharField(max_length=25, null=True)
multi_device = models.BooleanField(default=False)