36781-vm/core/models.py
Flatlogic Bot 02525633d4 harsh
2025-12-09 06:05:51 +00:00

11 lines
375 B
Python

from django.db import models
class Tourist(models.Model):
name = models.CharField(max_length=100)
email = models.EmailField(unique=True)
emergency_contact_name = models.CharField(max_length=100)
emergency_contact_phone = models.CharField(max_length=20)
created_at = models.DateTimeField(auto_now_add=True)
def __str__(self):
return self.name