from django.db import models

# Create your models here.
class ContactSubmission(models.Model):

    name = models.CharField(max_length=200)
    email = models.EmailField()
    telephone = models.CharField(max_length=20)
    message = models.TextField()

    submitted = models.DateTimeField(auto_now_add=True)

    def __unicode__(self):
        return self.name
