<reponame>AlikBerry/extention-mover
from django.db import models

# Create your models here.

#class Account(models.Model):
#   name = models.CharField(max_length=255)
#   surname = models.CharField(max_length=255)
#   email = models.EmailField( max_length=254)
#
#   def __str__(self):
#       return self.name
#   
#class OrderStatus(models.Model):
#    name = models.CharField(max_length=255)
#
#    def __str__(self):
#        return self.name
#    
#
#class SelectedProducts(models.Model):
#    name = models.CharField(max_length=255)
#    size = models.CharField( max_length=50)
#    color = models.CharField(max_length=50)
#    image = models.ImageField(upload_to='media')
#    price = models.DecimalField(max_digits=7, decimal_places=2)
#    url = models.URLField(max_length=255)
#    order = models.ForeignKey("SelectedOrders",  on_delete=models.CASCADE,null=True, blank=True)
#    accout_id = models.ForeignKey("Account" , on_delete=models.CASCADE)
#
#    def __str__(self):
#        return self.name
#
#    
#class SelectedOrders(models.Model):
#    order_user_id = models.ForeignKey("Account", on_delete=models.CASCADE)
#    tracking_number = models.IntegerField()
#    order_number = models.IntegerField()
#    price = models.DecimalField(max_digits=7, decimal_places=2)
#    invoice = models.IntegerField()
#    url = models.URLField(max_length=255)
#    status = models.ForeignKey("OrderStatus", on_delete=models.CASCADE, 
#                                null=True,blank=True)


class Data(models.Model):
    price =models.CharField(max_length=255)

    def __str__(self):
        return self.price
    
    

    
    

from django.db import models

# Create your models here.

#class Account(models.Model):
#   name = models.CharField(max_length=255)
#   surname = models.CharField(max_length=255)
#   email = models.EmailField( max_length=254)
#
#   def __str__(self):
#       return self.name
#   
#class OrderStatus(models.Model):
#    name = models.CharField(max_length=255)
#
#    def __str__(self):
#        return self.name
#    
#
#class SelectedProducts(models.Model):
#    name = models.CharField(max_length=255)
#    size = models.CharField( max_length=50)
#    color = models.CharField(max_length=50)
#    image = models.ImageField(upload_to='media')
#    price = models.DecimalField(max_digits=7, decimal_places=2)
#    url = models.URLField(max_length=255)
#    order = models.ForeignKey("SelectedOrders",  on_delete=models.CASCADE,null=True, blank=True)
#    accout_id = models.ForeignKey("Account" , on_delete=models.CASCADE)
#
#    def __str__(self):
#        return self.name
#
#    
#class SelectedOrders(models.Model):
#    order_user_id = models.ForeignKey("Account", on_delete=models.CASCADE)
#    tracking_number = models.IntegerField()
#    order_number = models.IntegerField()
#    price = models.DecimalField(max_digits=7, decimal_places=2)
#    invoice = models.IntegerField()
#    url = models.URLField(max_length=255)
#    status = models.ForeignKey("OrderStatus", on_delete=models.CASCADE, 
#                                null=True,blank=True)


class Data(models.Model):
    price =models.CharField(max_length=255)

    def __str__(self):
        return self.price
# Create your models here. #class Account(models.Model): #   name = models.CharField(max_length=255) #   surname = models.CharField(max_length=255) #   email = models.EmailField( max_length=254) # #   def __str__(self): #       return self.name # #class OrderStatus(models.Model): #    name = models.CharField(max_length=255) # #    def __str__(self): #        return self.name # # #class SelectedProducts(models.Model): #    name = models.CharField(max_length=255) #    size = models.CharField( max_length=50) #    color = models.CharField(max_length=50) #    image = models.ImageField(upload_to='media') #    price = models.DecimalField(max_digits=7, decimal_places=2) #    url = models.URLField(max_length=255) #    order = models.ForeignKey("SelectedOrders",  on_delete=models.CASCADE,null=True, blank=True) #    accout_id = models.ForeignKey("Account" , on_delete=models.CASCADE) # #    def __str__(self): #        return self.name # # #class SelectedOrders(models.Model): #    order_user_id = models.ForeignKey("Account", on_delete=models.CASCADE) #    tracking_number = models.IntegerField() #    order_number = models.IntegerField() #    price = models.DecimalField(max_digits=7, decimal_places=2) #    invoice = models.IntegerField() #    url = models.URLField(max_length=255) #    status = models.ForeignKey("OrderStatus", on_delete=models.CASCADE, #                                null=True,blank=True)