|
@ -56,7 +56,7 @@ class Parlamentar(models.Model): |
|
|
situacao_militar = models.ForeignKey(SituacaoMilitar, blank=True, null=True) |
|
|
situacao_militar = models.ForeignKey(SituacaoMilitar, blank=True, null=True) |
|
|
nome_completo = models.CharField(max_length=50) |
|
|
nome_completo = models.CharField(max_length=50) |
|
|
nome_parlamentar = models.CharField(max_length=50, blank=True, null=True) |
|
|
nome_parlamentar = models.CharField(max_length=50, blank=True, null=True) |
|
|
sex_parlamentar = models.CharField(max_length=1) |
|
|
sexo = models.CharField(max_length=1) |
|
|
data_nascimento = models.DateField(blank=True, null=True) |
|
|
data_nascimento = models.DateField(blank=True, null=True) |
|
|
num_cpf = models.CharField(max_length=14, blank=True, null=True) |
|
|
num_cpf = models.CharField(max_length=14, blank=True, null=True) |
|
|
num_rg = models.CharField(max_length=15, blank=True, null=True) |
|
|
num_rg = models.CharField(max_length=15, blank=True, null=True) |
|
@ -87,7 +87,7 @@ class Dependente(models.Model): |
|
|
tipo_dependente = models.ForeignKey(TipoDependente) |
|
|
tipo_dependente = models.ForeignKey(TipoDependente) |
|
|
parlamentar = models.ForeignKey(Parlamentar) |
|
|
parlamentar = models.ForeignKey(Parlamentar) |
|
|
nome_dependente = models.CharField(max_length=50) |
|
|
nome_dependente = models.CharField(max_length=50) |
|
|
sex_dependente = models.CharField(max_length=1) |
|
|
sexo = models.CharField(max_length=1) |
|
|
data_nascimento = models.DateField(blank=True, null=True) |
|
|
data_nascimento = models.DateField(blank=True, null=True) |
|
|
num_cpf = models.CharField(max_length=14, blank=True, null=True) |
|
|
num_cpf = models.CharField(max_length=14, blank=True, null=True) |
|
|
num_rg = models.CharField(max_length=15, blank=True, null=True) |
|
|
num_rg = models.CharField(max_length=15, blank=True, null=True) |
|
|