<reponame>joshdavies89/e-commerce<gh_stars>0
from django.db import models

# Create your models here.

class Product(models.Model):
    title = models.CharField(max_length=120)
    description = models.TextField(blank=True, null=True)
    price = models.DecimalField(decimal_places=2, max_digits=20)
    active = models.BooleanField(default=True)

    #slug
    #inventory

    def __unicode__(self):
        return self.title
