tbf/SharedDatabase/Mappings/ComponentsMap.cs
2021-06-18 15:35:46 +02:00

26 lines
491 B
C#

///
/// Copyright (c) 2016 Sensus Metering Systems
///
using FluentNHibernate.Mapping;
namespace SharedDatabase.Mappings
{
class ComponentsMap : ClassMap<Entities.Components>
{
public ComponentsMap()
{
Id(x => x.Id);
Map(x => x.TestBenchId);
Map(x => x.TestBenchName);
Map(x => x.Pump);
Map(x => x.RegValve);
Map(x => x.Flowmeter);
Map(x => x.Diverter);
Map(x => x.Scale);
Map(x => x.Custom1);
Map(x => x.Custom2);
Map(x => x.Custom3);
}
}
}