ManufacturingLostTimeLookups.cs 743 B

1234567891011121314151617181920212223242526
  1. using InABox.Core;
  2. namespace Comal.Classes
  3. {
  4. public class ManufacturingLostTimeLookups : EntityLookup<ManufacturingLostTime>
  5. {
  6. public override Columns<ManufacturingLostTime> DefineColumns()
  7. {
  8. return new Columns<ManufacturingLostTime>(
  9. x => x.ID,
  10. x => x.Code,
  11. x => x.Description
  12. );
  13. }
  14. public override Filter<ManufacturingLostTime> DefineFilter()
  15. {
  16. return new Filter<ManufacturingLostTime>(x => x.Active).IsEqualTo(true);
  17. }
  18. public override SortOrder<ManufacturingLostTime> DefineSortOrder()
  19. {
  20. return new SortOrder<ManufacturingLostTime>(x => x.Sequence);
  21. }
  22. }
  23. }