from django.db import models

# Create your models here.
class GiftRecipient(models.Model):
    first_name = models.CharField(max_length=255)
    last_name = models.CharField(max_length=255)
    email = models.EmailField()
    street_address = models.CharField(max_length=255)
    city = models.CharField(max_length=255)
    state = models.CharField(max_length=2)
    zip_code = models.CharField(max_length=5)
    gift_suggestion = models.TextField(blank=True)

    def __str__(self):
        return f"{self.first_name} {self.last_name}"
