EnVisageOnline/Beta/Source/EnVisage/Models/ForecastDashboardModel.cs

87 lines
3.5 KiB
C#

using System;
using System.Data.Entity;
using System.Linq;
using EnVisage.Code;
using System.Collections.Generic;
namespace EnVisage.Models
{
public class ForecastDashboardModel
{
public Guid Id { get; set; }
public Guid ProjectId { get; set; }
public ScenarioType? Type { get; set; }
public string Name { get; set; }
public string ProjectName { get; set; }
public string TeamName { get; set; }
public Guid TeamId { get; set; }
public decimal? ProjectedRevenue { get; set; }
public decimal? ExpectedGrossMargin { get; set; }
public decimal? ExpectedGrossMargin_LM { get; set; }
public decimal? CalculatedGrossMargin { get; set; }
public decimal? CalculatedGrossMargin_LM { get; set; }
public int? UseLMMargin { get; set; }
public decimal? CGSplit { get; set; }
public decimal? EFXSplit { get; set; }
public DateTime? StartDate { get; set; }
public DateTime? EndDate { get; set; }
public int? Duration { get; set; }
public int? Priority { get; set; }
public decimal Probability { get; set; }
public decimal? TDDirectCosts { get; set; }
public decimal? TDDirectCosts_LM { get; set; }
public decimal? BUDirectCosts { get; set; }
public decimal? BUDirectCosts_LM { get; set; }
public ScenarioStatus? ScenarioStatus { get; set; }
public int? InactiveCount { get; set; }
public string Color { get; set; }
public int? CostSavings { get; set; }
public int? CostSavingsDuration { get; set; }
public DateTime? ROIDate { get; set; }
public string HardSoftSavings { get; set; }
public List<Guid> Groups { get; set; }
public ForecastDashboardModel(Guid id, string name, ScenarioType? type, decimal? projectedRevenue, decimal? expectedGrossMargin, decimal? expectedGrossMargin_LM, decimal? calculatedGrossMargin,
decimal? calculatedGrossMargin_LM, decimal? cGSplit, decimal? eFXSplit, DateTime? startDate, DateTime? endDate, int? duration, int? priority, decimal probability,
decimal? tDDirectCosts, decimal? tDDirectCosts_LM, decimal? bUDirectCosts, decimal? bUDirectCosts_LM, int? costSavings, int? costSavingsDuration, DateTime? rOIDate, string hardSoftSavings)
{
Id = id;
Name = name;
Type = type;
ProjectedRevenue = projectedRevenue;
ExpectedGrossMargin = expectedGrossMargin;
ExpectedGrossMargin_LM = expectedGrossMargin_LM;
CalculatedGrossMargin = calculatedGrossMargin;
CalculatedGrossMargin_LM = CalculatedGrossMargin_LM;
CGSplit = cGSplit;
EFXSplit = eFXSplit;
StartDate = startDate;
EndDate = endDate;
Duration = duration;
Priority = priority;
Probability = probability;
TDDirectCosts = tDDirectCosts;
TDDirectCosts_LM = tDDirectCosts_LM;
BUDirectCosts = bUDirectCosts;
BUDirectCosts_LM = bUDirectCosts_LM;
CostSavings = costSavings;
CostSavingsDuration = costSavingsDuration;
ROIDate = rOIDate;
HardSoftSavings = hardSoftSavings;
}
public ForecastDashboardModel()
{
}
}
public class ForecastDashboardOptionsModel
{
public string MenuId { get; set; }
public string AdditionalFilterParams { get; set; }
public PagePreferencesList.PagePreferencesSource Source { get; set; }
}
}