# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models

# Create your models here.
class Datospersonales(models.Model):
    num_cont= models.CharField(max_length=10, primary_key= True,verbose_name='Numero de Control')
    nombre = models.CharField(max_length=100)
    SEXO=(('F','Femenino'),('M','Masculino')) #se hace arreglo
    Sexo = models.CharField(max_length=1,choices=SEXO,default='M')
    Edad = models.IntegerField(help_text='Solo mayores de edad')
    fecha_nacimiento= models.DateField()

    IS = 'IS'
    LC = 'LC'
    LAE = 'LAE'
    CARRERA_CHOICES = (
        ('IS','Ing. en Sistemas'),
        ('LC', 'Lic. en Contaduria'),
        ('LAE', 'Lic. en Administracion de Empresas')
    )

    Carrera = models.CharField(max_length=30,choices=CARRERA_CHOICES,default=IS,
    )
    Telefono = models.CharField(max_length=12)
    email = models.EmailField()
    Domicilio= models.TextField()