2015-12-31 23:00:03 +00:00
|
|
|
|
///
|
|
|
|
|
|
/// Copyright (c) 2016 Sensus Metering Systems
|
|
|
|
|
|
///
|
|
|
|
|
|
using FluentNHibernate.Mapping;
|
|
|
|
|
|
using Results.Entities;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Results.Mappings
|
|
|
|
|
|
{
|
|
|
|
|
|
class ComponentsMap : ClassMap<Components>
|
|
|
|
|
|
{
|
|
|
|
|
|
public ComponentsMap()
|
|
|
|
|
|
{
|
|
|
|
|
|
Id(x => x.Id);
|
2016-01-02 16:53:57 +00:00
|
|
|
|
Map(x => x.TestBenchId);
|
|
|
|
|
|
Map(x => x.TestBenchName);
|
2015-12-31 23:00:03 +00:00
|
|
|
|
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);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|