summaryrefslogtreecommitdiff
path: root/Codemerx/Gestor.Infrastructure/Gestor.Infrastructure.Mappings.Seguros/ConfigExtratoImportMap.cs
blob: 1b8b11a17af12a98a2bca4ab24a22453b72c16ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 ConfigExtratoImportMap : ClassMap<ConfigExtratoImportDb>
	{
		public ConfigExtratoImportMap()
		{
			base.Table("extratoconfig");
			base.LazyLoad();
			base.Id((ConfigExtratoImportDb x) => (object)x.Id).GeneratedBy.Identity().Column("idextratoconfig");
			base.Map((ConfigExtratoImportDb x) => (object)x.IdSeguradora).Column("idciaseg");
			base.Map((ConfigExtratoImportDb x) => x.Descricao).Column("descricao");
			base.Map((ConfigExtratoImportDb x) => x.Codigo).Column("codigocia");
			base.Map((ConfigExtratoImportDb x) => (object)x.Ativo).Column("ativo");
		}
	}
}