summaryrefslogtreecommitdiff
path: root/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Seguros/VendedorMap.cs
diff options
context:
space:
mode:
authorLucas Faria Mendes <lucas.fariamo08@gmail.com>2026-03-30 13:38:18 +0000
committerLucas Faria Mendes <lucas.fariamo08@gmail.com>2026-03-30 13:38:18 +0000
commit1f4e14b2e973ee7de337fd4866d9a5ceff5cb6d1 (patch)
treee1c3b20ea08f0cf71122a1e73f0d395f8fd83874 /Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Seguros/VendedorMap.cs
parent674ca83ba9243a9e95a7568c797668dab6aee26a (diff)
downloadgestor-1f4e14b2e973ee7de337fd4866d9a5ceff5cb6d1.tar.gz
gestor-1f4e14b2e973ee7de337fd4866d9a5ceff5cb6d1.zip
chore: location
Diffstat (limited to 'Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Seguros/VendedorMap.cs')
-rw-r--r--Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Seguros/VendedorMap.cs34
1 files changed, 0 insertions, 34 deletions
diff --git a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Seguros/VendedorMap.cs b/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Seguros/VendedorMap.cs
deleted file mode 100644
index e423351..0000000
--- a/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Seguros/VendedorMap.cs
+++ /dev/null
@@ -1,34 +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 VendedorMap : ClassMap<VendedorDb>
- {
- public VendedorMap()
- {
- base.Table("vendedor");
- base.LazyLoad();
- base.Id((VendedorDb x) => (object)x.Id).GeneratedBy.Identity().Column("idvendedor");
- base.References<BancoDb>((VendedorDb x) => x.Banco).Column("idcodigobanco").Fetch.Join();
- base.Map((VendedorDb x) => (object)x.IdEmpresa).Column("idempresa");
- base.Map((VendedorDb x) => x.Nome).Column("nome");
- base.Map((VendedorDb x) => (object)x.TipoIncidenciaDesconto).Column("tipoincidenciadesconto").Default("0");
- base.Map((VendedorDb x) => (object)x.Desconto).Column("desconto");
- base.Map((VendedorDb x) => x.Documento).Column("cpfcnpj");
- base.Map((VendedorDb x) => x.Conta).Column("conta");
- base.Map((VendedorDb x) => x.Agencia).Column("agencia");
- base.Map((VendedorDb x) => (object)x.TipoConta).Column("idtipoconta");
- base.Map((VendedorDb x) => x.TitularConta).Column("titularconta");
- base.Map((VendedorDb x) => x.TitularDocumento).Column("cpfcnpjtitular");
- base.Map((VendedorDb x) => (object)x.Corretora).Column("corretora").CustomType<CustomBoolType>();
- base.Map((VendedorDb x) => (object)x.Ativo).Column("ativo").CustomType<CustomBoolType>();
- base.Map((VendedorDb x) => x.Observacao).Column("obs").CustomType("StringClob").CustomSqlType("varchar(MAX)");
- }
- }
-} \ No newline at end of file