wg-backend-django/wg_api/models.py

15 lines
444 B
Python
Raw Normal View History

2022-11-22 02:07:36 -05:00
from django.db import models
# Create your models here.
class user_model(models.Model):
wgName = models.CharField(max_length=300)
wgMail = models.EmailField(max_length=254)
wgKey = models.CharField(max_length=20)
wgDin = models.IntegerField()
wgDout = models.IntegerField()
wgStatus = models.CharField(max_length=254)
wgTStamp = models.CharField(max_length=254)
def _str_(sefl):
return self.wgMail