Skip to content

Commit 374023d

Browse files
more refactoring
1 parent 3d27f6f commit 374023d

4 files changed

Lines changed: 631 additions & 754 deletions

File tree

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
using EstateReportingAPI.Models;
2+
using Microsoft.EntityFrameworkCore;
3+
using Shared.EntityFramework;
4+
using System;
5+
using System.Collections.Generic;
6+
using System.Linq;
7+
using System.Text;
8+
using System.Threading.Tasks;
9+
using TransactionProcessor.Database.Contexts;
10+
using TransactionProcessor.Database.Entities;
11+
using TransactionProcessor.Database.Entities.Summary;
12+
using Merchant = TransactionProcessor.Database.Entities.Merchant;
13+
using Operator = TransactionProcessor.Database.Entities.Operator;
14+
15+
namespace EstateReportingAPI.BusinessLogic
16+
{
17+
18+
public class DatabaseProjections {
19+
public class FeeTransactionProjection
20+
{
21+
public MerchantSettlementFee Fee { get; set; }
22+
public Transaction Txn { get; set; }
23+
}
24+
25+
public class TodaySettlementTransactionProjection
26+
{
27+
public MerchantSettlementFee Fee { get; set; }
28+
public TodayTransaction Txn { get; set; }
29+
}
30+
31+
public class ComparisonSettlementTransactionProjection
32+
{
33+
public MerchantSettlementFee Fee { get; set; }
34+
public TransactionHistory Txn { get; set; }
35+
}
36+
37+
public class TransactionSearchProjection {
38+
public Transaction Transaction { get; set; }
39+
public Operator Operator { get; set; }
40+
public Merchant Merchant { get; set; }
41+
public ContractProduct Product { get; set; }
42+
}
43+
44+
public class TopBottomData
45+
{
46+
public String DimensionName { get; set; }
47+
public Decimal SalesValue { get; set; }
48+
}
49+
}
50+
}

0 commit comments

Comments
 (0)