< Summary

Class:WinSolutions.Sveta.Server.Data.DataModel.Reports.MoneyAccountWrapper
Assembly:WinSolutions.Sveta.Server
File(s):/opt/dev/sveta_api_build/WinSolutions.Sveta.Server/Data/DataModel/Reports/MoneyAccount.cs
Covered lines:2
Uncovered lines:1
Coverable lines:3
Total lines:35
Line coverage:66.6% (2 of 3)
Covered branches:0
Total branches:0

Metrics

MethodLine coverage Branch coverage
get_Data()0%100%
get_MoneyAccountReportSummary()100%100%
get_Pagination()100%100%

File(s)

/opt/dev/sveta_api_build/WinSolutions.Sveta.Server/Data/DataModel/Reports/MoneyAccount.cs

#LineLine coverage
 1using System;
 2using System.Collections.Generic;
 3using WinSolutions.Sveta.Server.Domain;
 4
 5namespace WinSolutions.Sveta.Server.Data.DataModel.Reports
 6{
 7    public class MoneyAccount
 8    {
 9        public string BuyerName { get; set; }
 10        public int OrderCount { get; set; }
 11        public int ShipmentInWorkCount { get; set; }
 12        public int ShipmentReceivedCount { get; set; }
 13        public int ShipmentRejectedCount { get; set; }
 14        public decimal HoldedMoneySum { get; set; }
 15        public decimal RejectedMoneySum { get; set; }
 16        public decimal AcceptedMoneySum { get; set; }
 17    }
 18
 19    public class MoneyAccountWrapper
 20    {
 021        public List<MoneyAccount> Data { get; set; }
 22
 223        public MoneyAccountReportSummary MoneyAccountReportSummary { get; set; }
 224        public Pagination Pagination { get; set; }
 25    }
 26
 27    public class MoneyAccountReportSummary
 28    {
 29        public decimal HoldedSum { get; set; }
 30        public decimal RejectedSum { get; set; }
 31        public decimal AcceptedSum { get; set; }
 32        public int OrderCount { get; set; }
 33        public int ShipmentCount { get; set; }
 34    }
 35}