123456789101112131415161718192021222324252627 |
- using InABox.Core;
- namespace Comal.Classes
- {
- public class ConsignmentTypeLookups : EntityLookup<ConsignmentType>
- {
- public override Columns<ConsignmentType> DefineColumns()
- {
- return Columns.None<ConsignmentType>().Add(
- x => x.ID,
- x => x.Code,
- x => x.Description
- );
- }
- public override Filter<ConsignmentType> DefineFilter()
- {
- return new Filter<ConsignmentType>(x => x.Hidden).IsEqualTo(false);
- }
- public override SortOrder<ConsignmentType> DefineSortOrder()
- {
- return new SortOrder<ConsignmentType>(x => x.Code);
- }
- }
- }
|