Skip to content

Commit

Permalink
Reports Implemented Succesfully:ExpenseApplication/Schemes/Dtos/Repor…
Browse files Browse the repository at this point in the history
…t.cs
  • Loading branch information
rsemihkoca committed Jan 21, 2024
1 parent 84a4616 commit 4885ce8
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions ExpenseApplication/Schemes/Dtos/Report.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ public class ReportFrequencyRequest
public string Type { get; set; }
}

public class PersonnelSummaryRequest
{
public string Type { get; set; }
public int UserId { get; set; }
}

public class ApprovedPaymentFrequencyReportResponse
{
public string Type { get; set; }
Expand Down Expand Up @@ -53,16 +59,15 @@ public class PersonnelExpenseFrequencyReportResponse
public class PersonnelSummaryReportResponse
{
public int UserId { get; set; }
public string FullName { get; set; }
public int TotalCount { get; set; }
public int ApprovedCount { get; set; }
public int RejectedCount { get; set; }
public int PendingCount { get; set; }

public int ApprovedPercentage { get; set; }
public string ApprovedPercentage { get; set; }
public double ApprovedSum { get; set; }
public double RejectedSum { get; set; }
public double PendingSum { get; set; }

List<ExpenseResponse> Expenses { get; set; }
public List<ExpenseResponse> Expenses { get; set; }
}

0 comments on commit 4885ce8

Please sign in to comment.