From 1f4e14b2e973ee7de337fd4866d9a5ceff5cb6d1 Mon Sep 17 00:00:00 2001 From: Lucas Faria Mendes Date: Mon, 30 Mar 2026 10:38:18 -0300 Subject: chore: location --- .../AtividadeMap.cs | 21 --------- .../AtualizacaoMap.cs | 19 -------- .../BancoMap.cs | 21 --------- .../ControleArquivoDigitalMap.cs | 21 --------- .../EmpresaMap.cs | 53 ---------------------- .../IndiceArquivoDigitalMap.cs | 47 ------------------- .../ModeloMalaDiretaMap.cs | 21 --------- .../ProfissaoMap.cs | 22 --------- .../RegistroAcaoMap.cs | 31 ------------- .../RegistroLogMap.cs | 31 ------------- .../SocioMap.cs | 25 ---------- 11 files changed, 312 deletions(-) delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/AtividadeMap.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/AtualizacaoMap.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/BancoMap.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/ControleArquivoDigitalMap.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/EmpresaMap.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/IndiceArquivoDigitalMap.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/ModeloMalaDiretaMap.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/ProfissaoMap.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/RegistroAcaoMap.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/RegistroLogMap.cs delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/SocioMap.cs (limited to 'Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common') diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/AtividadeMap.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/AtividadeMap.cs deleted file mode 100644 index b484da6..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/AtividadeMap.cs +++ /dev/null @@ -1,21 +0,0 @@ -using FluentNHibernate.Mapping; -using Gestor.Infrastructure.Entities.Common; -using Gestor.Infrastructure.Entities.Generic; -using System; -using System.Linq.Expressions; -using System.Runtime.CompilerServices; - -namespace Gestor.Infrastructure.Mappings.Common -{ - public class AtividadeMap : ClassMap - { - public AtividadeMap() - { - base.Table("atividade"); - base.LazyLoad(); - base.Id((AtividadeDb x) => (object)x.Id).GeneratedBy.Assigned().Column("idatividade"); - base.Map((AtividadeDb x) => x.Cnac).Column("cnac"); - base.Map((AtividadeDb x) => x.Nome).Column("atividade"); - } - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/AtualizacaoMap.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/AtualizacaoMap.cs deleted file mode 100644 index e6d6199..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/AtualizacaoMap.cs +++ /dev/null @@ -1,19 +0,0 @@ -using FluentNHibernate.Mapping; -using Gestor.Infrastructure.Entities.Common; -using System; -using System.Linq.Expressions; -using System.Runtime.CompilerServices; - -namespace Gestor.Infrastructure.Mappings.Common -{ - public class AtualizacaoMap : ClassMap - { - public AtualizacaoMap() - { - base.Table("AtualizacaoDados"); - base.LazyLoad(); - base.Id((AtualizacaoDb x) => (object)x.IdArquivo).GeneratedBy.Assigned().Column("IdArquivo"); - base.Map((AtualizacaoDb x) => (object)x.DataAtualizacao).Column("DataAtualizacao").Not.Nullable(); - } - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/BancoMap.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/BancoMap.cs deleted file mode 100644 index 84e8420..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/BancoMap.cs +++ /dev/null @@ -1,21 +0,0 @@ -using FluentNHibernate.Mapping; -using Gestor.Infrastructure.Entities.Common; -using System; -using System.Linq.Expressions; -using System.Runtime.CompilerServices; - -namespace Gestor.Infrastructure.Mappings.Common -{ - public class BancoMap : ClassMap - { - public BancoMap() - { - base.Table("codigobanco"); - base.LazyLoad(); - base.Id((BancoDb x) => (object)x.Id).GeneratedBy.Assigned().Column("idcodigobanco"); - base.Map((BancoDb x) => (object)x.Codigo).Column("codigo"); - base.Map((BancoDb x) => x.Nome).Column("nomebanco"); - base.Map((BancoDb x) => x.Site).Column("paginainternet"); - } - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/ControleArquivoDigitalMap.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/ControleArquivoDigitalMap.cs deleted file mode 100644 index f65b72f..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/ControleArquivoDigitalMap.cs +++ /dev/null @@ -1,21 +0,0 @@ -using FluentNHibernate.Mapping; -using Gestor.Infrastructure.Entities.Common; -using Gestor.Infrastructure.Entities.Generic; -using System; -using System.Linq.Expressions; -using System.Runtime.CompilerServices; - -namespace Gestor.Infrastructure.Mappings.Common -{ - public class ControleArquivoDigitalMap : ClassMap - { - public ControleArquivoDigitalMap() - { - base.Table("controledbad"); - base.LazyLoad(); - base.Id((ControleArquivoDigitalDb x) => (object)x.Id).GeneratedBy.Identity().Column("idcontroledbad"); - base.Map((ControleArquivoDigitalDb x) => x.Catalogo).Column("bdname"); - base.Map((ControleArquivoDigitalDb x) => x.Tabela).Column("tabela"); - } - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/EmpresaMap.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/EmpresaMap.cs deleted file mode 100644 index 53d2e0c..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/EmpresaMap.cs +++ /dev/null @@ -1,53 +0,0 @@ -using FluentNHibernate.Mapping; -using Gestor.Infrastructure.Entities.Common; -using Gestor.Infrastructure.Entities.Generic; -using System; -using System.Linq.Expressions; -using System.Runtime.CompilerServices; - -namespace Gestor.Infrastructure.Mappings.Common -{ - public class EmpresaMap : ClassMap - { - public EmpresaMap() - { - base.Table("empresa"); - base.LazyLoad(); - base.Id((EmpresaDb x) => (object)x.Id).GeneratedBy.Identity().Column("idempresa"); - base.Map((EmpresaDb x) => x.Nome).Column("nome").Not.Nullable(); - base.Map((EmpresaDb x) => x.NomeSocial); - base.Map((EmpresaDb x) => x.Documento).Column("cgccpf"); - base.Map((EmpresaDb x) => x.Serial).Column("ns"); - base.Map((EmpresaDb x) => x.Cep).Column("cep"); - base.Map((EmpresaDb x) => x.Endereco).Column("endereco"); - base.Map((EmpresaDb x) => x.Numero).Column("numero"); - base.Map((EmpresaDb x) => x.Complemento).Column("complemento"); - base.Map((EmpresaDb x) => x.Bairro).Column("bairro"); - base.Map((EmpresaDb x) => x.Cidade).Column("cidade"); - base.Map((EmpresaDb x) => x.Estado).Column("uf"); - base.Map((EmpresaDb x) => x.Site).Column("site"); - base.Map((EmpresaDb x) => x.Email).Column("email"); - base.Map((EmpresaDb x) => (object)x.TipoTelefone1).CustomType(); - base.Map((EmpresaDb x) => x.PrimeiroPrefixo).Column("ddd"); - base.Map((EmpresaDb x) => x.PrimeiroTelefone).Column("telefone"); - base.Map((EmpresaDb x) => (object)x.TipoTelefone2).CustomType(); - base.Map((EmpresaDb x) => x.SegundoPrefixo).Column("ddd2"); - base.Map((EmpresaDb x) => x.SegundoTelefone).Column("telefone2"); - base.Map((EmpresaDb x) => (object)x.QuantidadeFuncionarios).Column("nfuncionarios"); - base.Map((EmpresaDb x) => x.QuantidadeFiliais).Column("unidade"); - base.Map((EmpresaDb x) => x.Responsavel).Column("nomeresponsavel"); - base.Map((EmpresaDb x) => x.EmailResponsavel).Column("emailresponsavel"); - base.Map((EmpresaDb x) => x.SenhaAdmin).Column("senhaadm"); - base.Map((EmpresaDb x) => x.Facebook); - base.Map((EmpresaDb x) => x.Instagram); - base.Map((EmpresaDb x) => x.Linkdin); - base.Map((EmpresaDb x) => x.Whatsapp); - base.Map((EmpresaDb x) => x.WhatsappSinistro); - base.Map((EmpresaDb x) => x.Twitter); - base.Map((EmpresaDb x) => x.Localizacao); - base.Map((EmpresaDb x) => x.Logo).CustomSqlType("varbinary(max)").Length(2147483647); - base.Map((EmpresaDb x) => x.LogoId); - base.Map((EmpresaDb x) => (object)x.MaxFileSize).Column("filesize"); - } - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/IndiceArquivoDigitalMap.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/IndiceArquivoDigitalMap.cs deleted file mode 100644 index 0ca7a29..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/IndiceArquivoDigitalMap.cs +++ /dev/null @@ -1,47 +0,0 @@ -using FluentNHibernate.Mapping; -using Gestor.Infrastructure.Entities.Common; -using Gestor.Infrastructure.Entities.Generic; -using System; -using System.Linq.Expressions; -using System.Runtime.CompilerServices; - -namespace Gestor.Infrastructure.Mappings.Common -{ - public class IndiceArquivoDigitalMap : ClassMap - { - public IndiceArquivoDigitalMap() - { - base.Table("newarquivodigital"); - base.LazyLoad(); - base.Id((IndiceArquivoDigitalDb x) => (object)x.Id).GeneratedBy.Identity().Column("idnewarquivodigital"); - base.Map((IndiceArquivoDigitalDb x) => (object)x.IdArquivoDigital).Column("idarquivodigital").Not.Nullable(); - base.Map((IndiceArquivoDigitalDb x) => x.BD).Column("banco"); - base.Map((IndiceArquivoDigitalDb x) => x.Descricao).Column("descricao"); - base.Map((IndiceArquivoDigitalDb x) => x.Extensao).Column("extension"); - base.Map((IndiceArquivoDigitalDb x) => (object)x.IdCliente).Column("idcliente"); - base.Map((IndiceArquivoDigitalDb x) => (object)x.IdDocumento).Column("iddocumento"); - base.Map((IndiceArquivoDigitalDb x) => (object)x.IdItem).Column("iditem"); - base.Map((IndiceArquivoDigitalDb x) => (object)x.IdParcela).Column("idparcela"); - base.Map((IndiceArquivoDigitalDb x) => (object)x.IdSinistro).Column("idsinistro"); - base.Map((IndiceArquivoDigitalDb x) => (object)x.IdSeguradora).Column("idciaseg"); - base.Map((IndiceArquivoDigitalDb x) => (object)x.IdVendedor).Column("idvendedor"); - base.Map((IndiceArquivoDigitalDb x) => (object)x.IdExtrato).Column("idextrato"); - base.Map((IndiceArquivoDigitalDb x) => (object)x.IdEmpresa).Column("idempresa"); - base.Map((IndiceArquivoDigitalDb x) => (object)x.IdLancamento).Column("idlancamen"); - base.Map((IndiceArquivoDigitalDb x) => (object)x.IdFornecedor).Column("idfornecedor"); - base.Map((IndiceArquivoDigitalDb x) => (object)x.IdProspeccao).Column("idvenctoaleatorio"); - base.Map((IndiceArquivoDigitalDb x) => (object)x.IdSocio).Column("idsocio"); - base.Map((IndiceArquivoDigitalDb x) => (object)x.IdTarefa); - base.Map((IndiceArquivoDigitalDb x) => (object)x.IdNotaFiscal); - base.Map((IndiceArquivoDigitalDb x) => (object)x.IdEstipulante); - base.Map((IndiceArquivoDigitalDb x) => (object)x.Excluido).Column("excluido").CustomType(); - base.Map((IndiceArquivoDigitalDb x) => (object)x.IdUsuario).Column("idusuarioarquivo"); - base.Map((IndiceArquivoDigitalDb x) => (object)x.UsuarioCriacao).Column("usuariocriacao"); - base.Map((IndiceArquivoDigitalDb x) => (object)x.UsuarioAtualizacao).Column("usuarioalteracao"); - base.Map((IndiceArquivoDigitalDb x) => (object)x.DataCriacao).Column("datacriacao"); - base.Map((IndiceArquivoDigitalDb x) => (object)x.DataAtualizacao).Column("dataalteracao"); - base.Map((IndiceArquivoDigitalDb x) => (object)x.AzureGuid); - base.Map((IndiceArquivoDigitalDb i) => i.AzureStorage).CustomType("AnsiString").Length(100).Default(string.Empty); - } - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/ModeloMalaDiretaMap.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/ModeloMalaDiretaMap.cs deleted file mode 100644 index bdd6a1a..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/ModeloMalaDiretaMap.cs +++ /dev/null @@ -1,21 +0,0 @@ -using FluentNHibernate.Mapping; -using Gestor.Infrastructure.Entities.Common; -using Gestor.Infrastructure.Entities.Generic; -using System; -using System.Linq.Expressions; -using System.Runtime.CompilerServices; - -namespace Gestor.Infrastructure.Mappings.Common -{ - public class ModeloMalaDiretaMap : ClassMap - { - public ModeloMalaDiretaMap() - { - base.Table("ModeloMalaDireta"); - base.LazyLoad(); - base.Id((ModeloMalaDiretaDb x) => (object)x.Id).GeneratedBy.Identity(); - base.Map((ModeloMalaDiretaDb x) => x.Assunto); - base.Map((ModeloMalaDiretaDb x) => x.Corpo).CustomType("StringClob").CustomSqlType("varchar(MAX)"); - } - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/ProfissaoMap.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/ProfissaoMap.cs deleted file mode 100644 index c42619d..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/ProfissaoMap.cs +++ /dev/null @@ -1,22 +0,0 @@ -using FluentNHibernate.Mapping; -using Gestor.Infrastructure.Entities.Common; -using Gestor.Infrastructure.Entities.Generic; -using System; -using System.Linq.Expressions; -using System.Runtime.CompilerServices; - -namespace Gestor.Infrastructure.Mappings.Common -{ - public class ProfissaoMap : ClassMap - { - public ProfissaoMap() - { - base.Table("profissao"); - base.LazyLoad(); - base.Id((ProfissaoDb x) => (object)x.Id).GeneratedBy.Assigned().Column("idprofissao"); - base.Map((ProfissaoDb x) => x.Codigo).Column("codigo"); - base.Map((ProfissaoDb x) => x.Nome).Column("nome"); - base.Map((ProfissaoDb x) => x.Aniversario).Column("dataaniversario"); - } - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/RegistroAcaoMap.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/RegistroAcaoMap.cs deleted file mode 100644 index f60ce6d..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/RegistroAcaoMap.cs +++ /dev/null @@ -1,31 +0,0 @@ -using FluentNHibernate.Mapping; -using Gestor.Infrastructure.Entities.Common; -using Gestor.Infrastructure.Entities.Generic; -using Gestor.Infrastructure.Entities.Seguros; -using System; -using System.Linq.Expressions; -using System.Runtime.CompilerServices; - -namespace Gestor.Infrastructure.Mappings.Common -{ - public class RegistroAcaoMap : ClassMap - { - public RegistroAcaoMap() - { - base.Table("RegistroAcao"); - base.LazyLoad(); - base.Id((RegistroAcaoDb x) => (object)x.Id).GeneratedBy.Identity(); - base.References((RegistroAcaoDb x) => x.Usuario).Column("IdUsuario").Fetch.Join(); - base.Map((RegistroAcaoDb x) => (object)x.EntidadeId); - base.Map((RegistroAcaoDb x) => (object)x.Tela).CustomType(); - base.Map((RegistroAcaoDb x) => (object)x.Relatorio).CustomType(); - base.Map((RegistroAcaoDb x) => (object)x.DataHora); - base.Map((RegistroAcaoDb x) => x.Descricao).Length(1000); - base.Map((RegistroAcaoDb x) => x.Observacao).Length(4001); - base.Map((RegistroAcaoDb x) => x.NomeMaquina); - base.Map((RegistroAcaoDb x) => x.UsuarioMaquina); - base.Map((RegistroAcaoDb x) => x.Ip); - base.Map((RegistroAcaoDb x) => x.Versao); - } - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/RegistroLogMap.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/RegistroLogMap.cs deleted file mode 100644 index 3e670da..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/RegistroLogMap.cs +++ /dev/null @@ -1,31 +0,0 @@ -using FluentNHibernate.Mapping; -using Gestor.Infrastructure.Entities.Common; -using Gestor.Infrastructure.Entities.Generic; -using Gestor.Infrastructure.Entities.Seguros; -using System; -using System.Linq.Expressions; -using System.Runtime.CompilerServices; - -namespace Gestor.Infrastructure.Mappings.Common -{ - public class RegistroLogMap : ClassMap - { - public RegistroLogMap() - { - base.Table("RegistroLog"); - base.LazyLoad(); - base.Id((RegistroLogDb x) => (object)x.Id).GeneratedBy.Identity(); - base.Map((RegistroLogDb x) => (object)x.EntidadeId).Not.Nullable(); - base.Map((RegistroLogDb x) => (object)x.Acao).CustomType(); - base.Map((RegistroLogDb x) => (object)x.Tela).CustomType(); - base.Map((RegistroLogDb x) => x.Versao); - base.Map((RegistroLogDb x) => (object)x.DataHora).Not.Nullable(); - base.Map((RegistroLogDb x) => x.Descricao).CustomType("StringClob").CustomSqlType("varchar(MAX)").Not.Nullable(); - base.References((RegistroLogDb x) => x.Usuario).Column("IdUsuario").Fetch.Join(); - base.Map((RegistroLogDb x) => x.NomeMaquina); - base.Map((RegistroLogDb x) => x.UsuarioMaquina); - base.Map((RegistroLogDb x) => x.Ip); - base.Map((RegistroLogDb x) => (object)x.ModeloNovo).Default("0"); - } - } -} \ No newline at end of file diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/SocioMap.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/SocioMap.cs deleted file mode 100644 index a7276ba..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Common/SocioMap.cs +++ /dev/null @@ -1,25 +0,0 @@ -using FluentNHibernate.Mapping; -using Gestor.Infrastructure.Entities.Common; -using Gestor.Infrastructure.Entities.Generic; -using System; -using System.Linq.Expressions; -using System.Runtime.CompilerServices; - -namespace Gestor.Infrastructure.Mappings.Common -{ - public class SocioMap : ClassMap - { - public SocioMap() - { - base.Table("socio"); - base.LazyLoad(); - base.Id((SocioDb x) => (object)x.Id).GeneratedBy.Identity().Column("idsocio"); - base.Map((SocioDb x) => (object)x.IdEmpresa).Column("idempresa").Not.Nullable(); - base.Map((SocioDb x) => (object)x.Excluido).Column("excluido").Not.Nullable().CustomType(); - base.Map((SocioDb x) => x.Nome).Column("nome").Not.Nullable(); - base.Map((SocioDb x) => x.Email).Column("email"); - base.Map((SocioDb x) => x.Prefixo).Column("ddd"); - base.Map((SocioDb x) => x.Telefone).Column("telefone"); - } - } -} \ No newline at end of file -- cgit v1.2.3