from django.db import models

# Create your models here.
#models.IntegerField()
class newinfo(models.Model):   
    name= models.CharField(max_length= 50)
    disease= models.CharField(max_length= 50)
    symptom1= models.CharField(max_length= 50)
    symptom2= models.CharField(max_length= 50, blank=True)
    symptom3= models.CharField(max_length= 50, blank=True)
    symptom4= models.CharField(max_length= 50, blank=True)
    symptom5= models.CharField(max_length= 50, blank=True)
    symptom6= models.CharField(max_length= 50, blank=True)
    symptom7= models.CharField(max_length= 50, blank=True)
    symptom8= models.CharField(max_length= 50, blank=True)
    symptom9= models.CharField(max_length= 50, blank=True)
    symptom10= models.CharField(max_length= 50, blank=True)
    symptom11= models.CharField(max_length= 50, blank=True)
    symptom12= models.CharField(max_length= 50, blank=True)
    symptom13= models.CharField(max_length= 50, blank=True)
    symptom14= models.CharField(max_length= 50, blank=True)
    symptom15= models.CharField(max_length= 50, blank=True)
    symptom16= models.CharField(max_length= 50, blank=True)
    symptom17= models.CharField(max_length= 50, blank=True)
    severity= models.IntegerField()
    #description= models.TextField()
    #precaution= models.TextField()
    
    def __str__(self):
        return self.name 