wg-backend-django/wg_api/models.py
2022-11-22 14:07:36 +07:00

15 lines
444 B
Python

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