using System; using System.Collections.Generic; using System.Linq; using System.Web; using FluentNHibernate.Mapping; using Sleis.Models; namespace Sleis.Mapping { public class ReportingPeriodTypeMap : ClassMap { public ReportingPeriodTypeMap() { Table("E_RPT_PRD_TYPE"); Id(x => x.Code).Column("E_RPT_PRD_TYPE_CD"); Map(x => x.Name).Column("RPT_PRD_TYPE_NAME"); Map(x => x.Description).Column("RPT_PRD_TYPE_DESC"); Map(x => x.EpaCode).Column("EPA_CD"); Map(x => x.LastInventoryYear).Column("LAST_INV_YEAR"); } } }