Browse Source

Adjust protocoloadm model fields (migration)

pull/6/head
Marcio Mazza 10 years ago
parent
commit
e6308d159b
  1. 51
      protocoloadm/migrations/0001_initial.py

51
protocoloadm/migrations/0001_initial.py

@ -15,10 +15,10 @@ class Migration(migrations.Migration):
name='DocumentoAcessorioAdministrativo', name='DocumentoAcessorioAdministrativo',
fields=[ fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('nome_documento', models.CharField(max_length=30, verbose_name='Nome')), ('nome', models.CharField(max_length=30, verbose_name='Nome')),
('nome_arquivo', models.CharField(max_length=100, verbose_name='Arquivo')), ('arquivo', models.CharField(max_length=100, verbose_name='Arquivo')),
('data_documento', models.DateField(null=True, verbose_name='Data', blank=True)), ('data', models.DateField(null=True, verbose_name='Data', blank=True)),
('nome_autor_documento', models.CharField(max_length=50, null=True, verbose_name='Autor', blank=True)), ('autor', models.CharField(max_length=50, null=True, verbose_name='Autor', blank=True)),
('assunto', models.TextField(null=True, verbose_name='Assunto', blank=True)), ('assunto', models.TextField(null=True, verbose_name='Assunto', blank=True)),
('indexacao', models.TextField(null=True, blank=True)), ('indexacao', models.TextField(null=True, blank=True)),
], ],
@ -31,12 +31,12 @@ class Migration(migrations.Migration):
name='DocumentoAdministrativo', name='DocumentoAdministrativo',
fields=[ fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('numero_documento', models.IntegerField(verbose_name='N\xfamero')), ('numero', models.IntegerField(verbose_name='N\xfamero')),
('ano_documento', models.SmallIntegerField(verbose_name='Ano')), ('ano', models.SmallIntegerField(verbose_name='Ano')),
('data_documento', models.DateField(verbose_name='Data')), ('data', models.DateField(verbose_name='Data')),
('numero_protocolo', models.IntegerField(null=True, verbose_name='N\xfam. Protocolo', blank=True)), ('numero_protocolo', models.IntegerField(null=True, verbose_name='N\xfam. Protocolo', blank=True)),
('interessado', models.CharField(max_length=50, null=True, verbose_name='Interessado', blank=True)), ('interessado', models.CharField(max_length=50, null=True, verbose_name='Interessado', blank=True)),
('numero_dias_prazo', models.IntegerField(null=True, verbose_name='Dias Prazo', blank=True)), ('dias_prazo', models.IntegerField(null=True, verbose_name='Dias Prazo', blank=True)),
('data_fim_prazo', models.DateField(null=True, verbose_name='Data Fim Prazo', blank=True)), ('data_fim_prazo', models.DateField(null=True, verbose_name='Data Fim Prazo', blank=True)),
('tramitacao', models.BooleanField(verbose_name='Em Tramita\xe7\xe3o?')), ('tramitacao', models.BooleanField(verbose_name='Em Tramita\xe7\xe3o?')),
('assunto', models.TextField(verbose_name='Assunto')), ('assunto', models.TextField(verbose_name='Assunto')),
@ -52,21 +52,21 @@ class Migration(migrations.Migration):
name='Protocolo', name='Protocolo',
fields=[ fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('numero_protocolo', models.IntegerField(null=True, verbose_name='N\xfam. Protocolo', blank=True)), ('numero', models.IntegerField(null=True, verbose_name='N\xfamero do Protocolo', blank=True)),
('ano_protocolo', models.SmallIntegerField()), ('ano', models.SmallIntegerField()),
('data_protocolo', models.DateField()), ('data', models.DateField()),
('hora_protocolo', models.TimeField()), ('hora', models.TimeField()),
('data_timestamp', models.DateTimeField()), ('timestamp', models.DateTimeField()),
('tipo_protocolo', models.IntegerField(verbose_name='Tipo de Protocolo')), ('tipo_protocolo', models.IntegerField(verbose_name='Tipo de Protocolo')),
('tipo_processo', models.IntegerField()), ('tipo_processo', models.IntegerField()),
('interessado', models.CharField(max_length=60, null=True, verbose_name='Interessado', blank=True)), ('interessado', models.CharField(max_length=60, null=True, verbose_name='Interessado', blank=True)),
('assunto_ementa', models.TextField(null=True, blank=True)), ('assunto_ementa', models.TextField(null=True, blank=True)),
('numero_paginas', models.IntegerField(null=True, verbose_name='N\xfam. P\xe1ginas', blank=True)), ('numero_paginas', models.IntegerField(null=True, verbose_name='N\xfamero de P\xe1ginas', blank=True)),
('observacao', models.TextField(null=True, verbose_name='Observa\xe7\xe3o', blank=True)), ('observacao', models.TextField(null=True, verbose_name='Observa\xe7\xe3o', blank=True)),
('anulado', models.BooleanField()), ('anulado', models.BooleanField()),
('user_anulacao', models.CharField(max_length=20, null=True, blank=True)), ('user_anulacao', models.CharField(max_length=20, null=True, blank=True)),
('ip_anulacao', models.CharField(max_length=15, null=True, blank=True)), ('ip_anulacao', models.CharField(max_length=15, null=True, blank=True)),
('just_anulacao', models.CharField(max_length=60, null=True, blank=True)), ('justificativa_anulacao', models.CharField(max_length=60, null=True, blank=True)),
('timestamp_anulacao', models.DateTimeField(null=True, blank=True)), ('timestamp_anulacao', models.DateTimeField(null=True, blank=True)),
('autor', models.ForeignKey(blank=True, to='materia.Autor', null=True)), ('autor', models.ForeignKey(blank=True, to='materia.Autor', null=True)),
], ],
@ -79,10 +79,9 @@ class Migration(migrations.Migration):
name='StatusTramitacaoAdministrativo', name='StatusTramitacaoAdministrativo',
fields=[ fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('sigla_status', models.CharField(max_length=10, verbose_name='Sigla')), ('sigla', models.CharField(max_length=10, verbose_name='Sigla')),
('descricao_status', models.CharField(max_length=60, verbose_name='Descri\xe7\xe3o')), ('descricao', models.CharField(max_length=60, verbose_name='Descri\xe7\xe3o')),
('fim_tramitacao', models.BooleanField()), ('indicador', models.CharField(max_length=1, verbose_name='Indicador da Tramita\xe7\xe3o', choices=[(b'F', 'Fim'), (b'R', 'Retorno')])),
('retorno_tramitacao', models.BooleanField()),
], ],
options={ options={
'verbose_name': 'Status de Tramita\xe7\xe3o', 'verbose_name': 'Status de Tramita\xe7\xe3o',
@ -93,8 +92,8 @@ class Migration(migrations.Migration):
name='TipoDocumentoAdministrativo', name='TipoDocumentoAdministrativo',
fields=[ fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('sigla_tipo_documento', models.CharField(max_length=5, verbose_name='Sigla')), ('sigla', models.CharField(max_length=5, verbose_name='Sigla')),
('descricao_tipo_documento', models.CharField(max_length=50, verbose_name='Descri\xe7\xe3o')), ('descricao', models.CharField(max_length=50, verbose_name='Descri\xe7\xe3o')),
], ],
options={ options={
'verbose_name': 'Tipo de Documento Administrativo', 'verbose_name': 'Tipo de Documento Administrativo',
@ -106,14 +105,14 @@ class Migration(migrations.Migration):
fields=[ fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
('data_tramitacao', models.DateField(null=True, verbose_name='Data Tramita\xe7\xe3o', blank=True)), ('data_tramitacao', models.DateField(null=True, verbose_name='Data Tramita\xe7\xe3o', blank=True)),
('cod_unid_tram_local', models.IntegerField(null=True, verbose_name='Unidade Local', blank=True)), ('data_encaminhamento', models.DateField(null=True, verbose_name='Data Encaminhamento', blank=True)),
('data_encaminha', models.DateField(null=True, verbose_name='Data Encaminhamento', blank=True)), ('ultima', models.BooleanField()),
('cod_unid_tram_dest', models.IntegerField(null=True, verbose_name='Unidade Destino', blank=True)), ('texto', models.TextField(null=True, verbose_name='Texto da A\xe7\xe3o', blank=True)),
('ult_tramitacao', models.BooleanField()),
('tramitacao', models.TextField(null=True, verbose_name='Texto da A\xe7\xe3o', blank=True)),
('data_fim_prazo', models.DateField(null=True, verbose_name='Data Fim do Prazo', blank=True)), ('data_fim_prazo', models.DateField(null=True, verbose_name='Data Fim do Prazo', blank=True)),
('documento', models.ForeignKey(to='protocoloadm.DocumentoAdministrativo')), ('documento', models.ForeignKey(to='protocoloadm.DocumentoAdministrativo')),
('status', models.ForeignKey(verbose_name='Status', blank=True, to='protocoloadm.StatusTramitacaoAdministrativo', null=True)), ('status', models.ForeignKey(verbose_name='Status', blank=True, to='protocoloadm.StatusTramitacaoAdministrativo', null=True)),
('unidade_tramitacao_destino', models.ForeignKey(related_name='+', verbose_name='Unidade Destino', blank=True, to='materia.UnidadeTramitacao', null=True)),
('unidade_tramitacao_local', models.ForeignKey(related_name='+', verbose_name='Unidade Local', blank=True, to='materia.UnidadeTramitacao', null=True)),
], ],
options={ options={
'verbose_name': 'Tramita\xe7\xe3o de Documento Administrativo', 'verbose_name': 'Tramita\xe7\xe3o de Documento Administrativo',

Loading…
Cancel
Save