from django.db import models

# Create your models here.
class AboutUs(models.Model):
    title=models.CharField(max_length=50)
    content=models.TextField()

    class Meta:
        verbose_name='about us'
        verbose_name_plural='about us'
    def __str__(self):
        return self.title

class Why_Choose_Us(models.Model):
    title=models.CharField(max_length=50)
    content=models.TextField()

    class Meta:
        verbose_name='why choose us'
        verbose_name_plural='why choose us'
    def __str__(self):
        return self.title


class Chef(models.Model):
    name=models.CharField(max_length=50)
    title=models.CharField(max_length=50)
    bio=models.TextField()
    image=models.ImageField(upload_to='chef/')

    class Meta:
        verbose_name='chef'
        verbose_name_plural='chef'
    def __str__(self):
        return self.name

from django.db import models

# Create your models here.
class AboutUs(models.Model):
    title=models.CharField(max_length=50)
    content=models.TextField()

    class Meta:
        verbose_name='about us'
        verbose_name_plural='about us'
    def __str__(self):
        return self.title

class Why_Choose_Us(models.Model):
    title=models.CharField(max_length=50)
    content=models.TextField()

    class Meta:
        verbose_name='why choose us'
        verbose_name_plural='why choose us'
    def __str__(self):
        return self.title


class Chef(models.Model):
    name=models.CharField(max_length=50)
    title=models.CharField(max_length=50)
    bio=models.TextField()
    image=models.ImageField(upload_to='chef/')

    class Meta:
        verbose_name='chef'
        verbose_name_plural='chef'
    def __str__(self):
        return self.name

# Create your models here.