from django.db import models import uuid # Create your models here. class emails_creadentials(models.Model): id = models.UUIDField(default=uuid.uuid4,editable=False,primary_key=True) email = models.EmailField(max_length=254,null=True,blank=True) password = models.CharField(max_length=250,null=True,blank=True) class auto_email_function_errors(models.Model): id = models.UUIDField(primary_key=True,editable=False,default=uuid.uuid4) email = models.EmailField(max_length=254,null=True,blank=True) error = models.TextField(null=True,blank=True) email_code = models.CharField( max_length=150,null=True,blank=True) key_value = models.TextField(null=True,blank=True) created_at = models.DateTimeField(auto_now_add=True) updated_at = models.DateTimeField(auto_now=True) class Mnf_Notification(models.Model): id = models.UUIDField(primary_key=True,editable=False,default=uuid.uuid4) user = models.CharField(max_length=100) read = models.BooleanField(default = False) title = models.CharField(max_length = 200,blank=True, null=True) service_name = models.CharField(max_length = 200,blank=True, null=True) image_url = models.CharField(max_length = 200,blank=True, null=True) created = models.DateTimeField(auto_now_add=True,blank=True, null=True) updated = models.DateTimeField(auto_now=True,blank=True, null=True)