using LCU.Library.Internal.IncentiveApiModels.Common; using LCU.Library.Internal.IncentiveApiModels.Entities; namespace LCU.API.Internal.Operations.IncentiveApi.Models; public class BusinessLineProgress: IViewTransformable { public BusinessLineProgress(BusinessLine businessLine, MonthRange monthRange) { BusinessLine = businessLine; MonthRange = monthRange; Departments = new List(); } public BusinessLine BusinessLine { get; } public MonthRange MonthRange{ get; } public IList Departments { get; } public BusinessLineProgress TransformForView() { foreach(var department in Departments) { department?.TransformForView(); } return this; } }