from django.db import models class ContactSubmission(models.Model): full_name = models.CharField(max_length=100) email = models.EmailField(blank=True) phone = models.CharField(max_length=20) formation_interest = models.CharField(max_length=200, blank=True) message = models.TextField(blank=True) created_at = models.DateTimeField(auto_now_add=True) def __str__(self): return f"{self.full_name} - {self.created_at.strftime('%Y-%m-%d')}"