using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AccountsDAL.DTO.AccountsReports { public class AccountsProfitAndLossForDashboardDTO { private decimal revenue; private decimal cogs; private decimal cogspercent; private decimal grossmargin; private decimal grossmarginpercent; private decimal otherincome; private decimal otherincomepercent; private decimal gpandotherincome; private decimal gpandotherincomepercent; private decimal opertatingexpenses; private decimal opertatingexpensespercent; private decimal ebitda; private decimal ebitdapercent; private decimal depreciation; private decimal depreciationpercent; private decimal ebit; private decimal ebitpercent; private decimal interest; private decimal interestpercent; private decimal incometax; private decimal netprofit; private decimal netprofitpercent; private string periodtype; private int slno; private DateTime fromdate; private DateTime todate; public decimal Revenue { get { return revenue; } set { revenue = value; } } public decimal COGS { get { return cogs; } set { cogs = value; } } public decimal COGSPercent { get { return cogspercent; } set { cogspercent = value; } } public decimal GrossMargin { get { return grossmargin; } set { grossmargin = value; } } public decimal GrossMarginPercent { get { return grossmarginpercent; } set { grossmarginpercent = value; } } public decimal OtherIncome { get { return otherincome; } set { otherincome = value; } } public decimal OtherIncomePercent { get { return otherincomepercent; } set { otherincomepercent = value; } } public decimal GPandOtherIncome { get { return gpandotherincome; } set { gpandotherincome = value; } } public decimal GPandOtherIncomePercent { get { return gpandotherincomepercent; } set { gpandotherincomepercent = value; } } public decimal OpertatingExpenses { get { return opertatingexpenses; } set { opertatingexpenses = value; } } public decimal OpertatingExpensesPercent { get { return opertatingexpensespercent; } set { opertatingexpensespercent = value; } } public decimal EBITDA { get { return ebitda; } set { ebitda = value; } } public decimal EBITDAPercent { get { return ebitdapercent; } set { ebitdapercent = value; } } public decimal Depreciation { get { return depreciation; } set { depreciation = value; } } public decimal DepreciationPercent { get { return depreciationpercent; } set { depreciationpercent = value; } } public decimal EBIT { get { return ebit; } set { ebit = value; } } public decimal EBITPercent { get { return ebitpercent; } set { ebitpercent = value; } } public decimal Interest { get { return interest; } set { interest = value; } } public decimal InterestPercent { get { return interestpercent; } set { interestpercent = value; } } public decimal IncomeTax { get { return incometax; } set { incometax = value; } } public decimal NetProfit { get { return netprofit; } set { netprofit = value; } } public decimal NetProfitPercent { get { return netprofitpercent; } set { netprofitpercent = value; } } public string Periodtype { get { return periodtype; } set { periodtype = value; } } public int Slno { get { return slno; } set { slno = value; } } public DateTime Fromdate { get { return fromdate; } set { fromdate = value; } } public DateTime Todate { get { return todate; } set { todate = value; } } private double totalrevenue; private double totalcogs; private double totalgrossmargin; private double totalotherincome; private double totalgpandotherincome; private double totalopertatingexpenses; private double totalebitda; private double totaldepreciation; private double totalebit; private double totalinterest; private double totalincometax; private double totalnetprofit; public double TotalRevenue { get { return totalrevenue; } set { totalrevenue = value; } } public double TotalCOGS { get { return totalcogs; } set { totalcogs = value; } } public double TotalGrossMargin { get { return totalgrossmargin; } set { totalgrossmargin = value; } } public double TotalOtherIncome { get { return totalotherincome; } set { totalotherincome = value; } } public double TotalGPandOtherIncome { get { return totalgpandotherincome; } set { totalgpandotherincome = value; } } public double TotalOpertatingExpenses { get { return totalopertatingexpenses; } set { totalopertatingexpenses = value; } } public double TotalEBITDA { get { return totalebitda; } set { totalebitda = value; } } public double TotalDepreciation { get { return totaldepreciation; } set { totaldepreciation = value; } } public double TotalEBIT { get { return totalebit; } set { totalebit = value; } } public double TotalInterest { get { return totalinterest; } set { totalinterest = value; } } public double TotalIncomeTax { get { return totalincometax; } set { totalincometax = value; } } public double TotalNetProfit { get { return totalnetprofit; } set { totalnetprofit = value; } } } }