first commit

This commit is contained in:
2024-12-10 10:32:13 -03:00
commit 78a4cb3c37
6881 changed files with 843683 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
from django.db import models
# Create your models here.
from django.db import models
class Mesa(models.Model):
id = models.AutoField(primary_key=True)
name = models.CharField(max_length=100)
location = models.CharField(max_length=255, null=True, blank=True)
active = models.BooleanField(default=False)
# Foreign Key to Comandas model (assuming it exists)
# comanda = models.ForeignKey('Comandas', on_delete=models.DO_NOTHING, db_column='id_mesa')