Skip to content

Commit

Permalink
att_models.paciente
Browse files Browse the repository at this point in the history
  • Loading branch information
DaviMatheus committed Apr 19, 2021
1 parent 328b9d4 commit 2d25432
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions src/paciente/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,39 @@ class Paciente(models.Model):
('AC', 'Águas Claras'),
('AS', 'Asa Sul'),
('AN', 'Asa Norte'),
('AR', 'Arniqueira'),
('BZ', 'Brazilandia'),
('CA', 'Candangolândia'),
('CI', 'Ceilândia'),
('CZ', 'Cruzeiro'),
('FE', 'Fercal'),
('GA', 'Gama'),
('GA', 'Guará'),
('GR', 'Guará'),
('IT', 'Itapoã'),
('JB', 'Jardim Botânico'),
('LS', 'Lago Sul'),
('LN', 'Lago Norte'),
('NB', 'Núcleo Bandeirante'),
('PW', 'Park Way'),
('PA', 'Paranoá'),
('Pl', 'Planaltina'),
('PP', 'Plano Piloto'),
('RE', 'Recanto das Emas'),
('RF', 'Riacho Fundo'),
('SA', 'Samambaia'),
('SM', 'Santa Maria'),
('SB', 'São Sabastião'),
('SCIA', 'SCIA'),
('RF', 'Riacho Fundo'),
('RF', 'Riacho Fundo II'),
('SI', 'SIA'),
('SO', 'Sobradinho'),
('SO', 'Sobradinho II'),
('SN', 'Sol Nascente'),
('SD','Sudoeste'),
('TA', 'Taguatinga'),
('VA', 'Varjão'),
('VP', 'Vicente Pires'),
('EO', 'Entre outros'),
)
SITUACAO = (
Expand All @@ -32,7 +57,7 @@ class Paciente(models.Model):
data_nascimento = models.DateField()
psicologo = models.ForeignKey(Psicologo, on_delete=models.CASCADE)
genero = models.CharField(default = True, max_length=1, choices=GENERO)
regiao = models.CharField(max_length=3, choices=REGIAO)
regiao = models.CharField(max_length=4, choices=REGIAO)
situacao = models.CharField(default = True,blank=False, max_length=2, choices=SITUACAO)
descricao = models.TextField(blank=True, null=True)
cpf = models.CharField(max_length=11, unique=True, default=False)
Expand Down

0 comments on commit 2d25432

Please sign in to comment.