from django.db import models
from django.contrib.auth.models import User

# Create your models here.

class MyProfile(models.Model):
	g = [('M',"Male"),('F','Female')]
	age = models.IntegerField(default=10)
	gender = models.CharField(max_length=10,choices=g)
	uid = models.OneToOneField(User,on_delete=models.CASCADE)

class ComplaintBox(models.Model):
	p_name=models.CharField(max_length=100)
	p_email=models.EmailField(max_length=100)
	p_complaint=models.CharField(max_length=1000)

