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 --- .../PerfilMap.cs | 45 ---------------------- 1 file changed, 45 deletions(-) delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Seguros/PerfilMap.cs (limited to 'Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Seguros/PerfilMap.cs') diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Seguros/PerfilMap.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Seguros/PerfilMap.cs deleted file mode 100644 index 1729b6b..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Seguros/PerfilMap.cs +++ /dev/null @@ -1,45 +0,0 @@ -using FluentNHibernate.Mapping; -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 PerfilMap : ClassMap - { - public PerfilMap() - { - base.Table("perfil"); - base.LazyLoad(); - base.Id((PerfilDb x) => (object)x.Id).GeneratedBy.Identity().Column("idperfil"); - base.References((PerfilDb x) => x.Cliente).Column("idcliente").Not.Nullable().Fetch.Join(); - base.References((PerfilDb x) => x.Controle).Column("idcontrole").Not.Nullable().Fetch.Join(); - base.Map((PerfilDb x) => x.Nome).Column("nomecompleto").Not.Nullable(); - base.Map((PerfilDb x) => (object)x.Relacao).CustomType>().Column("relacao"); - base.Map((PerfilDb x) => x.CepPernoite).Column("ceppernoite"); - base.Map((PerfilDb x) => x.CepCirculacao).Column("cepcirculacao"); - base.Map((PerfilDb x) => x.KmMensal).Column("quilometragemmensal"); - base.Map((PerfilDb x) => (object)x.UsoProfissional).Column("usoprofissional").CustomType(); - base.Map((PerfilDb x) => (object)x.GaragemTrabalho).CustomType>().Column("garagemtrabalho"); - base.Map((PerfilDb x) => (object)x.GaragemEstudo).CustomType>().Column("garagemestudo"); - base.Map((PerfilDb x) => (object)x.GaragemResidencia).CustomType>().Column("garagemresidencia"); - base.Map((PerfilDb x) => (object)x.VeiculoResidencia).CustomType().Column("veiculosresidencia"); - base.Map((PerfilDb x) => (object)x.TipoResidencia).CustomType>().Column("tiporesidencia"); - base.Map((PerfilDb x) => (object)x.UsoDependentes).CustomType>().Column("usodependentes"); - base.Map((PerfilDb x) => (object)x.DistanciaResidenciaTrabalho).CustomType>().Column("distanciaresidenciatrabalho"); - base.Map((PerfilDb x) => (object)x.Ocupacao).CustomType>().Column("ocupacao"); - base.Map((PerfilDb x) => x.Cpf).Column("cpf"); - base.Map((PerfilDb x) => (object)x.Nascimento).Column("datanascimento"); - base.Map((PerfilDb x) => (object)x.Sexo).CustomType>().Column("sexo"); - base.Map((PerfilDb x) => (object)x.TempoHabilitacao).CustomType>().Column("tempohabilitacao"); - base.Map((PerfilDb x) => (object)x.EstadoCivil).CustomType>().Column("estadocivil"); - base.Map((PerfilDb x) => x.Habilitacao).Column("numerohabilitacao"); - base.Map((PerfilDb x) => (object)x.Isencao).Column("isencao").CustomType(); - base.Map((PerfilDb x) => (object)x.SeguroVida).Column("SeguroVida").CustomType(); - base.Map((PerfilDb x) => (object)x.AntiFurto).CustomType>().Column("antifurto"); - base.Map((PerfilDb x) => (object)x.EstenderCobertura).Column("EstenderCobertura"); - } - } -} \ No newline at end of file -- cgit v1.2.3