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 --- .../SeguradoraContatoMap.cs | 28 ---------------------- 1 file changed, 28 deletions(-) delete mode 100644 Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Seguros/SeguradoraContatoMap.cs (limited to 'Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Seguros/SeguradoraContatoMap.cs') diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Seguros/SeguradoraContatoMap.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Seguros/SeguradoraContatoMap.cs deleted file mode 100644 index 8c19c92..0000000 --- a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Seguros/SeguradoraContatoMap.cs +++ /dev/null @@ -1,28 +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 SeguradoraContatoMap : ClassMap - { - public SeguradoraContatoMap() - { - base.Table("ciacontato"); - base.LazyLoad(); - base.Id((SeguradoraContatoDb x) => (object)x.Id).GeneratedBy.Identity().Column("idciacontato"); - base.References((SeguradoraContatoDb x) => x.Empresa).Column("idempresa").Not.Nullable().Fetch.Join(); - base.References((SeguradoraContatoDb x) => x.Seguradora).Column("idciaseg").Not.Nullable().Fetch.Join(); - base.Map((SeguradoraContatoDb x) => x.NomeContato).Column("nome"); - base.Map((SeguradoraContatoDb x) => (object)x.Tipo).CustomType().Column("idfonetipo"); - base.Map((SeguradoraContatoDb x) => x.Prefixo).Column("ddd"); - base.Map((SeguradoraContatoDb x) => x.Numero).Column("fone"); - base.Map((SeguradoraContatoDb x) => x.Email).Column("email"); - base.Map((SeguradoraContatoDb x) => (object)x.TipoContato).CustomType().Default("0"); - } - } -} \ No newline at end of file -- cgit v1.2.3