summaryrefslogtreecommitdiff
path: root/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Aggilizador
diff options
context:
space:
mode:
Diffstat (limited to 'Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Aggilizador')
-rw-r--r--Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Aggilizador/VinculoDocumentoMap.cs22
1 files changed, 22 insertions, 0 deletions
diff --git a/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Aggilizador/VinculoDocumentoMap.cs b/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Aggilizador/VinculoDocumentoMap.cs
new file mode 100644
index 0000000..b658266
--- /dev/null
+++ b/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Aggilizador/VinculoDocumentoMap.cs
@@ -0,0 +1,22 @@
+using FluentNHibernate.Mapping;
+using Gestor.Infrastructure.Entities.Aggilizador;
+using Gestor.Infrastructure.Entities.Generic;
+using System;
+using System.Linq.Expressions;
+using System.Runtime.CompilerServices;
+
+namespace Gestor.Infrastructure.Mappings.Aggilizador
+{
+ public class VinculoDocumentoMap : ClassMap<VinculoDocumentoDb>
+ {
+ public VinculoDocumentoMap()
+ {
+ base.Table("VinculoDocumento");
+ base.LazyLoad();
+ base.Id((VinculoDocumentoDb x) => (object)x.Id).GeneratedBy.Identity();
+ base.Map((VinculoDocumentoDb x) => (object)x.IdDocumento);
+ base.Map((VinculoDocumentoDb x) => (object)x.IdPropostaDigital);
+ base.Map((VinculoDocumentoDb x) => (object)x.IdApoliceDigital);
+ }
+ }
+} \ No newline at end of file