22 lines
708 B
C#
22 lines
708 B
C#
namespace LaaProduction.Services.Models.Reports
|
|
{
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq.Expressions;
|
|
|
|
public class KottmannReportModel
|
|
{
|
|
public KottmannReportFilter Filter { get; set; }
|
|
= new KottmannReportFilter();
|
|
|
|
public IEnumerable<KottmannReportItem> Items { get; set; }
|
|
= Array.Empty<KottmannReportItem>();
|
|
|
|
public static implicit operator KottmannReportModel(KottmannReportFilter filter)
|
|
=> new KottmannReportModel { Filter = filter };
|
|
|
|
public String Display(Expression<Func<KottmannReportItem, Object>> expression)
|
|
=> ReportModelExtensions.Display(expression);
|
|
}
|
|
}
|