Feat: Se añade modelo Sale

This commit is contained in:
2024-06-22 10:38:03 -05:00
parent 4b9983b0db
commit 03b2395074
3 changed files with 20 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
from django.db import models
# Create your models here.
class Sale(models.Model):
customer = models.CharField(max_length=100)
date = models.DateField("Date")
phone = models.CharField(max_length=13)
description = models.CharField(max_length=255)