|
|
@ -4,14 +4,14 @@ from materia.models import MateriaLegislativa |
|
|
|
|
|
|
|
|
|
|
|
class AssuntoNorma(models.Model): |
|
|
|
des_assunto = models.CharField(max_length=50) |
|
|
|
des_estendida = models.CharField(max_length=250, blank=True, null=True) |
|
|
|
descricao_assunto = models.CharField(max_length=50) |
|
|
|
descricao_estendida = models.CharField(max_length=250, blank=True, null=True) |
|
|
|
|
|
|
|
|
|
|
|
class TipoNormaJuridica(models.Model): |
|
|
|
voc_lexml = models.CharField(max_length=50, blank=True, null=True) |
|
|
|
sgl_tipo_norma = models.CharField(max_length=3) |
|
|
|
des_tipo_norma = models.CharField(max_length=50) |
|
|
|
descricao_tipo_norma = models.CharField(max_length=50) |
|
|
|
|
|
|
|
|
|
|
|
class NormaJuridica(models.Model): |
|
|
@ -22,7 +22,7 @@ class NormaJuridica(models.Model): |
|
|
|
tipo_esfera_federacao = models.CharField(max_length=1) |
|
|
|
data_norma = models.DateField(blank=True, null=True) |
|
|
|
data_publicacao = models.DateField(blank=True, null=True) |
|
|
|
des_veiculo_publicacao = models.CharField(max_length=30, blank=True, null=True) |
|
|
|
descricao_veiculo_publicacao = models.CharField(max_length=30, blank=True, null=True) |
|
|
|
num_pag_inicio_publ = models.IntegerField(blank=True, null=True) |
|
|
|
num_pag_fim_publ = models.IntegerField(blank=True, null=True) |
|
|
|
txt_ementa = models.TextField() |
|
|
@ -38,18 +38,18 @@ class NormaJuridica(models.Model): |
|
|
|
class LegislacaoCitada(models.Model): |
|
|
|
materia = models.ForeignKey(MateriaLegislativa) |
|
|
|
norma = models.ForeignKey(NormaJuridica) |
|
|
|
des_disposicoes = models.CharField(max_length=15, blank=True, null=True) |
|
|
|
des_parte = models.CharField(max_length=8, blank=True, null=True) |
|
|
|
des_livro = models.CharField(max_length=7, blank=True, null=True) |
|
|
|
des_titulo = models.CharField(max_length=7, blank=True, null=True) |
|
|
|
des_capitulo = models.CharField(max_length=7, blank=True, null=True) |
|
|
|
des_secao = models.CharField(max_length=7, blank=True, null=True) |
|
|
|
des_subsecao = models.CharField(max_length=7, blank=True, null=True) |
|
|
|
des_artigo = models.CharField(max_length=4, blank=True, null=True) |
|
|
|
des_paragrafo = models.CharField(max_length=3, blank=True, null=True) |
|
|
|
des_inciso = models.CharField(max_length=10, blank=True, null=True) |
|
|
|
des_alinea = models.CharField(max_length=3, blank=True, null=True) |
|
|
|
des_item = models.CharField(max_length=3, blank=True, null=True) |
|
|
|
descricao_disposicoes = models.CharField(max_length=15, blank=True, null=True) |
|
|
|
descricao_parte = models.CharField(max_length=8, blank=True, null=True) |
|
|
|
descricao_livro = models.CharField(max_length=7, blank=True, null=True) |
|
|
|
descricao_titulo = models.CharField(max_length=7, blank=True, null=True) |
|
|
|
descricao_capitulo = models.CharField(max_length=7, blank=True, null=True) |
|
|
|
descricao_secao = models.CharField(max_length=7, blank=True, null=True) |
|
|
|
descricao_subsecao = models.CharField(max_length=7, blank=True, null=True) |
|
|
|
descricao_artigo = models.CharField(max_length=4, blank=True, null=True) |
|
|
|
descricao_paragrafo = models.CharField(max_length=3, blank=True, null=True) |
|
|
|
descricao_inciso = models.CharField(max_length=10, blank=True, null=True) |
|
|
|
descricao_alinea = models.CharField(max_length=3, blank=True, null=True) |
|
|
|
descricao_item = models.CharField(max_length=3, blank=True, null=True) |
|
|
|
|
|
|
|
|
|
|
|
class VinculoNormaJuridica(models.Model): |
|
|
|