namespace DS.WMS.Core.HangfireJob.Dtos { public class WSLModel { public string Date { get; set; } public string Month { get; set; } public IEnumerable? List { get; set; } public int? YesterdayTeuSum => List?.Sum(x => x.YesterdayTeu); public int? TodayTeuSum => List?.Sum(x => x.TodayTeu); public int? TodayTeuCTNPickupSum => List?.Sum(x => x.TodayTeuCTNPickup); public int? IncreasedTeuSum => List?.Sum(x => x.IncreasedTeu); public int? NextMonthTEUSum => List?.Sum(x => x.NextMonthTEU); public int? LastMonthTEUSum => List?.Sum(x => x.LastMonthTEU); } public class WSLItem { public long CustomerId { get; set; } public string? CustomerName { get; set; } public int? YesterdayTeu { get; set; } public int? TodayTeu { get; set; } public int? TodayTeuCTNPickup { get; set; } public int? IncreasedTeu => TodayTeu - YesterdayTeu; public string? Date { get; set; } public int? NextMonthTEU { get; set; } public int? LastMonthTEU { get; set; } } }