2018-01-26 12:55:32 +00:00
|
|
|
|
using FluentNHibernate.Mapping;
|
|
|
|
|
|
|
2021-05-27 15:30:04 +00:00
|
|
|
|
namespace SharedDatabase.Mappings
|
2018-01-26 12:55:32 +00:00
|
|
|
|
{
|
|
|
|
|
|
class PartMap : ClassMap<Entities.Part>
|
|
|
|
|
|
{
|
|
|
|
|
|
public PartMap()
|
|
|
|
|
|
{
|
|
|
|
|
|
Id(x => x.Id);
|
|
|
|
|
|
Map(x => x.Name);
|
|
|
|
|
|
Map(x => x.OraDBType);
|
|
|
|
|
|
Map(x => x.Description);
|
|
|
|
|
|
Map(x => x.CodeType);
|
|
|
|
|
|
Map(x => x.CodeForm);
|
|
|
|
|
|
Map(x => x.CodeLocation);
|
2020-12-15 10:48:57 +00:00
|
|
|
|
Map(x => x.DefaultCode);
|
|
|
|
|
|
Map(x => x.LifetimeManagement);
|
2018-01-26 12:55:32 +00:00
|
|
|
|
Map(x => x.StepNumber);
|
|
|
|
|
|
|
|
|
|
|
|
References(x => x.Process);
|
|
|
|
|
|
References(x => x.Workstep);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|