JobEmployeeModel.cs 589 B

12345678910111213141516171819
  1. using System;
  2. using System.Linq.Expressions;
  3. using Comal.Classes;
  4. using InABox.Core;
  5. using System.Diagnostics.CodeAnalysis;
  6. using InABox.Mobile;
  7. namespace PRS.Mobile
  8. {
  9. public class JobEmployeeModel : CoreRepository<JobEmployeeModel, JobEmployeeShell, JobEmployee>
  10. {
  11. public JobEmployeeModel(IModelHost host, Func<Filter<JobEmployee>>? filter = null, Func<string>? cachefilename = null) : base(host, filter, cachefilename)
  12. {
  13. }
  14. protected override Expression<Func<JobEmployee, object>> ImageColumn => x => x.EmployeeLink.Thumbnail.ID;
  15. }
  16. }