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 --- .../ClienteMap.cs | 53 ---------------------- 1 file changed, 53 deletions(-) delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Seguros/ClienteMap.cs (limited to 'Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Seguros/ClienteMap.cs') diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Seguros/ClienteMap.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Seguros/ClienteMap.cs deleted file mode 100644 index 9195651..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Seguros/ClienteMap.cs +++ /dev/null @@ -1,53 +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.Seguros -{ - public class ClienteMap : ClassMap - { - public ClienteMap() - { - base.Table("cliente"); - base.LazyLoad(); - base.Id((ClienteDb x) => (object)x.Id).GeneratedBy.Identity().Column("idcliente"); - base.References((ClienteDb x) => x.Atividade).Column("idatividade").Fetch.Join().NotFound.Ignore(); - base.References((ClienteDb x) => x.Profissao).Column("idprofissao").Fetch.Join().NotFound.Ignore(); - base.References((ClienteDb x) => x.Banco).Column("idcodigobanco").Fetch.Join().NotFound.Ignore(); - base.Map((ClienteDb x) => (object)x.IdEmpresa).Column("idempresa").Not.Nullable(); - base.Map((ClienteDb x) => x.Nome).Column("nome").Not.Nullable(); - base.Map((ClienteDb x) => (object)x.Nascimento).Column("dtnasc"); - base.Map((ClienteDb x) => (object)x.Sexo).CustomType>().Column("sexo"); - base.Map((ClienteDb x) => (object)x.EstadoCivil).CustomType>().Column("estadocivi"); - base.Map((ClienteDb x) => x.Documento).Column("cgccpf"); - base.Map((ClienteDb x) => x.Identidade).Column("rg"); - base.Map((ClienteDb x) => x.Emissor).Column("emissor"); - base.Map((ClienteDb x) => x.EstadoEmissor).Column("rguf"); - base.Map((ClienteDb x) => (object)x.Expedicao).Column("rgexpedica"); - base.Map((ClienteDb x) => x.Habilitacao).Column("numehabili"); - base.Map((ClienteDb x) => (object)x.PrimeiraHabilitacao).Column("primehabil"); - base.Map((ClienteDb x) => (object)x.VencimentoHabilitacao).Column("venchabili"); - base.Map((ClienteDb x) => x.CategoriaHabilitacao).Column("cathabili"); - base.Map((ClienteDb x) => x.Cei).Column("cei"); - base.Map((ClienteDb x) => x.Pasta).Column("pasta"); - base.Map((ClienteDb x) => x.Agencia).Column("agencia"); - base.Map((ClienteDb x) => x.TipoConta).Column("tipoconta"); - base.Map((ClienteDb x) => x.Conta).Column("conta"); - base.Map((ClienteDb x) => (object)x.ClienteDesde).Column("clidesde"); - base.Map((ClienteDb x) => x.Observacao).Column("anotacoes").CustomType("StringClob").CustomSqlType("varchar(MAX)"); - base.Map((ClienteDb x) => (object)x.Excluido).Column("excluido").CustomType(); - base.Map((ClienteDb x) => (object)x.DocumentoPrincipal).CustomType().Column("documentoprincipal"); - base.Map((ClienteDb x) => x.Rne).Column("rne"); - base.Map((ClienteDb x) => (object)x.Falecido).Column("Falecido"); - base.Map((ClienteDb x) => (object)x.RendaMensal).Column("RendaMensal"); - base.Map((ClienteDb x) => x.Caepf).Column("caepf"); - base.Map((ClienteDb x) => (object)x.MalaDireta).Default("1"); - base.Map((ClienteDb c) => (object)c.EstaNaCentralSegurado); - base.Map((ClienteDb x) => x.NomeSocialRg).Column("nomesocialRg"); - } - } -} \ No newline at end of file -- cgit v1.2.3