diff options
| author | Lucas Faria Mendes <lucas.fariamo08@gmail.com> | 2026-03-30 13:38:18 +0000 |
|---|---|---|
| committer | Lucas Faria Mendes <lucas.fariamo08@gmail.com> | 2026-03-30 13:38:18 +0000 |
| commit | 1f4e14b2e973ee7de337fd4866d9a5ceff5cb6d1 (patch) | |
| tree | e1c3b20ea08f0cf71122a1e73f0d395f8fd83874 /Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Seguros/SeguradoraContatoMap.cs | |
| parent | 674ca83ba9243a9e95a7568c797668dab6aee26a (diff) | |
| download | gestor-1f4e14b2e973ee7de337fd4866d9a5ceff5cb6d1.tar.gz gestor-1f4e14b2e973ee7de337fd4866d9a5ceff5cb6d1.zip | |
chore: location
Diffstat (limited to 'Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Seguros/SeguradoraContatoMap.cs')
| -rw-r--r-- | Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Seguros/SeguradoraContatoMap.cs | 28 |
1 files changed, 0 insertions, 28 deletions
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<SeguradoraContatoDb>
- {
- public SeguradoraContatoMap()
- {
- base.Table("ciacontato");
- base.LazyLoad();
- base.Id((SeguradoraContatoDb x) => (object)x.Id).GeneratedBy.Identity().Column("idciacontato");
- base.References<EmpresaDb>((SeguradoraContatoDb x) => x.Empresa).Column("idempresa").Not.Nullable().Fetch.Join();
- base.References<SeguradoraDb>((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<TipoTelefone>().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<TipoContatoSeguradora>().Default("0");
- }
- }
-}
\ No newline at end of file |