using FluentNHibernate.Mapping; using SharedDatabase.Entities; namespace SharedDatabase.Mappings { class OrderInfoMap : ClassMap { public OrderInfoMap() { Id(x => x.Id); Map(x => x.POName); Map(x => x.POState); Map(x => x.Workflow); Map(x => x.TestProcedure); Map(x => x.VariantCode); Map(x => x.VacoDescription); Map(x => x.MadeInText); Map(x => x.Year); Map(x => x.ModuleParam) .CustomType("StringClob") .CustomSqlType("varchar(2000)"); Map(x => x.LaserMarking); Map(x => x.Packing); Map(x => x.PiecesCount); Map(x => x.SNPrefix); Map(x => x.SNFirst); Map(x => x.SNDigitsCount); Map(x => x.SNSuffix); Map(x => x.RAPrefix); Map(x => x.RAFirst); Map(x => x.RASuffix); Map(x => x.Remark); Map(x => x.BaseNr1); Map(x => x.BaseNr2); Map(x => x.BaseNr3); Map(x => x.BaseNr4); Map(x => x.BaseNr5); Map(x => x.CurrentPcsCount); Map(x => x.CurrentSN); Map(x => x.CurrentRA); Map(x => x.CurrentNr1); Map(x => x.CurrentNr2); Map(x => x.CurrentNr3); Map(x => x.CurrentNr4); Map(x => x.CurrentNr5); } } }