from django.db import models class Diamond(models.Model): carat = models.DecimalField(max_digits=5, decimal_places=2) cut = models.CharField(max_length=50) color = models.CharField(max_length=50) clarity = models.CharField(max_length=50) depth = models.DecimalField(max_digits=5, decimal_places=2) class BrandProduct(models.Model): brand_name = models.CharField(max_length=50) model_name = models.CharField(max_length=50) type_number = models.CharField(max_length=50) purchase_store = models.CharField(max_length=50) purchase_date = models.DateField() purchase_price = models.DecimalField(max_digits=10, decimal_places=2) accessories = models.TextField() condition = models.CharField(max_length=50)