Files
laatzen/LaaProductionWeb/LaaProduction.Services/Models/Reports/KottmannReportModel.cs
T

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);
}
}