sticutils 0.4.0 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c5fe6d424be06ec2bc22a45cb9d04792326fcb58552bbb18dab4fc18ad5e558
|
4
|
+
data.tar.gz: 2f39ee3aa50363f7f7f0c722726f3bf0b86c8072d411ebdbb6c8fd789aa633d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b35b11cd76754c31120914dc809fc8be4adf4bba8347b8467d6069e85ab76b80dfb3d3e53ae1d6e10b9ddfef0eda11149fff0164dd7232fefb11c991f7168e22
|
7
|
+
data.tar.gz: 8a89f473c1cd1e72e85a5898bee430f782f32a4cc3000d5404b89a706c484cebc0c282a8485cd03d5a2da3250979e3fa57ef783a5515fbcdeee59569fb119fed
|
@@ -1,18 +1,20 @@
|
|
1
1
|
class Intranet::GlobalPessoafisica < Intranet::IntranetRecord
|
2
2
|
self.table_name = 'global_pessoafisica'
|
3
3
|
|
4
|
-
has_many :global_orgaos, :
|
5
|
-
belongs_to :cidade_nascimento, :
|
6
|
-
belongs_to :global_endereco, :
|
7
|
-
belongs_to :admin_user, :
|
8
|
-
belongs_to :cidade_titulo, :
|
9
|
-
belongs_to :estado_rg, :
|
10
|
-
belongs_to :global_prepessoafisica, :
|
4
|
+
has_many :global_orgaos, class_name: 'GlobalOrgao'
|
5
|
+
belongs_to :cidade_nascimento, class_name: 'GlobalCidade', foreign_key: :nascimentoCidade_id
|
6
|
+
belongs_to :global_endereco, class_name: 'GlobalEndereco', foreign_key: :endereco_id
|
7
|
+
belongs_to :admin_user, class_name: 'AdminUser', foreign_key: :user_login
|
8
|
+
belongs_to :cidade_titulo, class_name: 'GlobalCidade', foreign_key: :tituloEleitorCidade_id
|
9
|
+
belongs_to :estado_rg, class_name: 'GlobalEstado', foreign_key: :rgOrgaoExpedidorUF_sigla
|
10
|
+
belongs_to :global_prepessoafisica, class_name: 'GlobalPrepessoafisica', foreign_key: :cpf, primary_key: :cpf
|
11
11
|
|
12
|
-
has_many :global_pessoafisica_contasbancarias, :
|
13
|
-
has_many :global_pessoafisica_contatos, :
|
12
|
+
has_many :global_pessoafisica_contasbancarias, class_name: 'GlobalPessoafisicaContasbancaria'
|
13
|
+
has_many :global_pessoafisica_contatos, class_name: 'GlobalPessoafisicaContato', foreign_key: :pessoaFisica_id
|
14
14
|
has_many :global_contatos, through: :global_pessoafisica_contatos
|
15
|
-
|
16
|
-
has_one :tjpi_vinculado, :
|
15
|
+
|
16
|
+
has_one :tjpi_vinculado, class_name: 'TjpiVinculado', foreign_key: :pessoaFisica_id
|
17
17
|
has_many :tjpi_vinculos, through: :tjpi_vinculado, source: :tjpi_vinculo_principal
|
18
|
+
|
19
|
+
belongs_to :endereco_secundario, class_name: 'GlobalEndereco', foreign_key: :enderecoSecundario_id
|
18
20
|
end
|
@@ -3,10 +3,15 @@ class Intranet::GlobalPrepessoafisica < Intranet::IntranetRecord
|
|
3
3
|
|
4
4
|
belongs_to :cidade_nascimento, :class_name => 'GlobalCidade', :foreign_key => :nascimentoCidade_id
|
5
5
|
belongs_to :global_endereco, :class_name => 'GlobalEndereco', :foreign_key => :endereco_id
|
6
|
-
belongs_to :
|
6
|
+
belongs_to :cidade_titulo, :class_name => 'GlobalCidade', :foreign_key => :tituloEleitorCidade_id
|
7
7
|
belongs_to :global_estado, :class_name => 'GlobalEstado', :foreign_key => :rgOrgaoExpedidorUF_sigla
|
8
|
-
has_many :global_prepessoafisica_contasbancarias, :class_name => 'GlobalPrepessoafisicaContasbancaria'
|
9
|
-
has_many :global_prepessoafisica_contatos, :class_name => 'GlobalPrepessoafisicaContato'
|
10
8
|
has_many :tjpi_predependentes, :class_name => 'TjpiPredependente', foreign_key: :prePessoaFisica_id
|
11
|
-
|
9
|
+
|
10
|
+
has_many :global_prepessoafisica_contasbancarias, class_name: 'GlobalPrepessoafisicaContasbancaria'
|
11
|
+
has_many :global_prepessoafisica_contatos, class_name: 'GlobalPrepessoafisicaContato', foreign_key: :pessoaFisica_id
|
12
|
+
has_many :global_contatos, through: :global_prepessoafisica_contatos
|
13
|
+
|
14
|
+
has_one :tjpi_previnculados, :class_name => 'TjpiPrevinculado', foreign_key: :prePessoaFisica_id
|
15
|
+
has_one :tjpi_vinculado, :class_name => 'TjpiPrevinculado', foreign_key: :prePessoaFisica_id
|
16
|
+
has_many :tjpi_vinculos, through: :tjpi_vinculado, source: :tjpi_vinculo_principal
|
12
17
|
end
|
@@ -9,8 +9,12 @@ class Intranet::TjpiPrevinculado < Intranet::IntranetRecord
|
|
9
9
|
has_many :tjpi_previnculado_manifestacoes, :class_name => 'TjpiPrevinculadoManifestaco'
|
10
10
|
has_many :tjpi_previnculadopendencia, :class_name => 'TjpiPrevinculadopendencium'
|
11
11
|
has_many :tjpi_previnculadopendencia, :class_name => 'TjpiPrevinculadopendencium'
|
12
|
-
has_many :tjpi_vinculados, :class_name => 'TjpiVinculado'
|
13
|
-
has_many :tjpi_vinculos, :class_name => 'TjpiVinculo'
|
12
|
+
# has_many :tjpi_vinculados, :class_name => 'TjpiVinculado'
|
13
|
+
# has_many :tjpi_vinculos, :class_name => 'TjpiVinculo'
|
14
|
+
|
15
|
+
belongs_to :tjpi_vinculo_principal, :class_name => 'TjpiVinculo', foreign_key: :vinculoPrincipal_id
|
16
|
+
belongs_to :tjpi_vinculo, :class_name => 'TjpiVinculo', foreign_key: :vinculoPrincipal_id
|
17
|
+
has_many :tjpi_vinculos, :class_name => 'TjpiVinculo', foreign_key: :cadastro_id
|
14
18
|
|
15
19
|
has_many :tjpi_previnculado_declaracoes, class_name: 'TjpiPrevinculadoDeclaracao', foreign_key: :preVinculado_id
|
16
20
|
belongs_to :tjpi_previnculadointervencao_ultima, class_name: 'TjpiPrevinculadointervencao', foreign_key: :intervencao_id
|
@@ -13,29 +13,31 @@ class Intranet::TjpiVinculo < Intranet::IntranetRecord
|
|
13
13
|
has_many :tjpi_vinculados, :class_name => 'TjpiVinculado'
|
14
14
|
belongs_to :tjpi_cargo, :class_name => 'TjpiCargo', :foreign_key => :cargo_id
|
15
15
|
belongs_to :tjpi_terceirizacao_contrato, :class_name => 'TjpiTerceirizacaoContrato', :foreign_key => :contratoTerceirizacao_id
|
16
|
-
belongs_to :tjpi_areaestagio, :class_name => 'TjpiAreaestagio', :foreign_key => :areaEstagio_id
|
17
16
|
belongs_to :tjpi_categoriavinculoconfig, :class_name => 'TjpiCategoriavinculoconfig', :foreign_key => :categoria
|
18
17
|
belongs_to :global_estado, :class_name => 'GlobalEstado', :foreign_key => :seccionalOAB_sigla
|
19
18
|
belongs_to :tjpi_terceirizacao_postodetrabalho, :class_name => 'TjpiTerceirizacaoPostodetrabalho', :foreign_key => :postoDeTrabalho_id
|
20
19
|
belongs_to :tjpi_contratocargotemporario, :class_name => 'TjpiContratocargotemporario', :foreign_key => :contrato_id
|
21
|
-
belongs_to :global_orgao_instituicao, :class_name => 'GlobalOrgao', :foreign_key => :instituicaoDeEnsino_id
|
22
20
|
belongs_to :tjpi_nivelreferencium, :class_name => 'TjpiNivelreferencium', :foreign_key => :nivelReferenciaAtual_id
|
23
21
|
belongs_to :tjpi_vinculo, :class_name => 'TjpiVinculo', :foreign_key => :vinculoOrigem_id
|
24
22
|
belongs_to :tjpi_vinculado, :class_name => 'TjpiVinculado', :foreign_key => :vinculado_id
|
25
23
|
has_one :tjpi_vinculado_principal, :class_name => 'TjpiVinculado', :foreign_key => :vinculoPrincipal_id
|
26
24
|
belongs_to :global_orgao_atual, :class_name => 'GlobalOrgao', :foreign_key => :lotacaoAtual_id
|
27
25
|
belongs_to :global_orgao_origem, :class_name => 'GlobalOrgao', :foreign_key => :orgaoOrigem_id
|
28
|
-
belongs_to :global_cidade, :class_name => 'GlobalCidade', :foreign_key => :vagaOrigem_id
|
29
26
|
has_many :tjpi_vinculo_documentos, :class_name => 'TjpiVinculoDocumento', :foreign_key => :vinculo_id
|
30
27
|
belongs_to :global_unidadeorganizacional, :class_name => 'GlobalUnidadeorganizacional', :foreign_key => :lotacaoAtual_id
|
31
28
|
belongs_to :orgao_origem_cargo, :class_name => 'GlobalOrgao', :foreign_key => :origemCargo_id
|
32
29
|
belongs_to :instituidor, class_name: 'GlobalPrepessoafisica', foreign_key: :instituidor_id
|
33
30
|
belongs_to :procurador, class_name: 'GlobalPrepessoafisica', foreign_key: :procurador_id
|
34
31
|
belongs_to :conta_bancaria, class_name: 'GlobalContabancaria', foreign_key: :contaBancaria_id
|
35
|
-
|
32
|
+
|
36
33
|
has_many :tjpi_previnculados, class_name: 'TjpiPrevinculado', foreign_key: :vinculoPrincipal_id
|
37
34
|
belongs_to :tjpi_previnculado, class_name: 'TjpiPrevinculado', foreign_key: :cadastro_id
|
38
35
|
|
39
36
|
has_many :tjpi_contrachequeagrupados, class_name: "TjpiContrachequeagrupado", foreign_key: :matricula, primary_key: :matricula
|
40
37
|
has_many :tjpi_contrachequelegados, class_name: "TjpiContrachequelegado", foreign_key: :matricula, primary_key: :matricula
|
38
|
+
|
39
|
+
# estagio
|
40
|
+
belongs_to :area_estagio, :class_name => 'TjpiAreaestagio', :foreign_key => :areaEstagio_id
|
41
|
+
belongs_to :instituicao_ensino, :class_name => 'GlobalOrgao', :foreign_key => :instituicaoDeEnsino_id
|
42
|
+
belongs_to :vaga_origem, :class_name => 'GlobalCidade', :foreign_key => :vagaOrigem_id
|
41
43
|
end
|
data/lib/sticutils/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sticutils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ricardo Viana
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|