

from __future__ import unicode_literals

from django.db import models
from app.adopcion.models import Persona
# Create your models here.

class  vacuna(models.Model):
	nombre = models.CharField(max_length=50)

class mascota(models.Model):
	nombre = models.CharField(max_length=50)
	sexo = models.CharField(max_length=10)
	edad = models.IntegerField()
	fecha_rescate = models.DateField()
	vacuna = models.ManyToManyField(vacuna)
	persona = models.ForeignKey(Persona, null=True, blank= True, on_delete =models.CASCADE)
