Sistema de Apoio ao Processo Legislativo
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
from django.db import models
|
|
|
|
|
|
|
|
|
|
|
|
class Legislatura(models.Model):
|
|
|
|
data_inicio = models.DateField()
|
|
|
|
data_fim = models.DateField()
|
|
|
|
data_eleicao = models.DateField()
|
|
|
|
|
|
|
|
|
|
|
|
class SessaoLegislativa(models.Model):
|
|
|
|
legislatura = models.ForeignKey(Legislatura)
|
|
|
|
numero = models.IntegerField()
|
|
|
|
tipo = models.CharField(max_length=1)
|
|
|
|
data_inicio = models.DateField()
|
|
|
|
data_fim = models.DateField()
|
|
|
|
data_inicio_intervalo = models.DateField(blank=True, null=True)
|
|
|
|
data_fim_intervalo = models.DateField(blank=True, null=True)
|
|
|
|
|
|
|
|
|
|
|
|
class NivelInstrucao(models.Model):
|
|
|
|
nivel_instrucao = models.CharField(max_length=50)
|