from django.db import models

# Create your models here.
class Contact(models.Model):
    email = models.CharField(max_length = 100)
    name = models.CharField(max_length = 100)
    phone = models.CharField(max_length = 10)
    comment = models.TextField(max_length = 200)
    date = models.DateField()

    def __str__(self):
        return self.name