|
@ -5,23 +5,21 @@ from django.utils.translation import ugettext as _ |
|
|
|
|
|
|
|
|
class CasaLegislativa(models.Model): |
|
|
class CasaLegislativa(models.Model): |
|
|
# TODO ajustar todos os max_length !!!! |
|
|
# TODO ajustar todos os max_length !!!! |
|
|
|
|
|
# cod_casa => id (pk) |
|
|
cod_casa = models.CharField(max_length=100, verbose_name=_(u'Código')) # cod_casa |
|
|
nome = models.CharField(max_length=100, verbose_name=_(u'Nome')) # nom_casa |
|
|
nom_casa = models.CharField(max_length=100, verbose_name=_(u'Nome')) # nom_casa |
|
|
sigla = models.CharField(max_length=100, verbose_name=_(u'Sigla')) # sgl_casa |
|
|
sgl_casa = models.CharField(max_length=100, verbose_name=_(u'Sigla')) # sgl_casa |
|
|
endereco = models.CharField(max_length=100, verbose_name=_(u'Endereço')) # end_casa |
|
|
end_casa = models.CharField(max_length=100, verbose_name=_(u'Endereço')) # end_casa |
|
|
cep = models.CharField(max_length=100, verbose_name=_(u'CEP')) # num_cep |
|
|
num_cep = models.CharField(max_length=100, verbose_name=_(u'CEP')) # num_cep |
|
|
|
|
|
municipio = models.CharField(max_length=100, verbose_name=_(u'Município')) # municipio |
|
|
municipio = models.CharField(max_length=100, verbose_name=_(u'Município')) # municipio |
|
|
sgl_uf = models.CharField(max_length=100, verbose_name=_(u'UF')) # sgl_uf |
|
|
uf = models.CharField(max_length=100, verbose_name=_(u'UF')) # sgl_uf |
|
|
num_tel = models.CharField(max_length=100, verbose_name=_(u'Telefone')) # num_tel |
|
|
telefone = models.CharField(max_length=100, verbose_name=_(u'Telefone')) # num_tel |
|
|
num_fax = models.CharField(max_length=100, verbose_name=_(u'Fax')) # num_fax |
|
|
fax = models.CharField(max_length=100, verbose_name=_(u'Fax')) # num_fax |
|
|
senha_inicial = models.CharField(max_length=100, verbose_name=_(u'Senha')) # txt_senha_inicial |
|
|
|
|
|
cor_fundo = models.CharField(max_length=100, verbose_name=_(u'Cor de fundo')) # cor_fundo |
|
|
cor_fundo = models.CharField(max_length=100, verbose_name=_(u'Cor de fundo')) # cor_fundo |
|
|
cor_borda = models.CharField(max_length=100, verbose_name=_(u'Cor da borda')) # cor_borda |
|
|
cor_borda = models.CharField(max_length=100, verbose_name=_(u'Cor da borda')) # cor_borda |
|
|
cor_principal = models.CharField(max_length=100, verbose_name=_(u'Cor principal')) # cor_principal |
|
|
cor_principal = models.CharField(max_length=100, verbose_name=_(u'Cor principal')) # cor_principal |
|
|
nom_logo = models.CharField(max_length=100, verbose_name=_(u'Logotipo')) # nom_logo |
|
|
logotipo = models.CharField(max_length=100, verbose_name=_(u'Logotipo')) # nom_logo |
|
|
end_web_casa = models.CharField(max_length=100, verbose_name=_(u'HomePage')) # end_web_casa |
|
|
endereco_web = models.CharField(max_length=100, verbose_name=_(u'HomePage')) # end_web_casa |
|
|
end_email_casa = models.CharField(max_length=100, verbose_name=_(u'E-mail')) # end_email_casa |
|
|
email = models.CharField(max_length=100, verbose_name=_(u'E-mail')) # end_email_casa |
|
|
informacao_geral = models.CharField(max_length=100, verbose_name=_(u'Informação Geral')) # informacao_geral |
|
|
informacao_geral = models.CharField(max_length=100, verbose_name=_(u'Informação Geral')) # informacao_geral |
|
|
|
|
|
|
|
|
class Meta: |
|
|
class Meta: |
|
|