12345678910111213141516171819202122232425262728 |
- using InABox.Core;
- namespace Comal.Classes
- {
- public class ConsignmentTypeLookups : EntityLookup<ConsignmentType>
- {
- public override Columns<ConsignmentType> DefineColumns()
- {
- return new Columns<ConsignmentType>
- (
- 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);
- }
- }
- }
|