28 lines
606 B
C#
28 lines
606 B
C#
using System;
|
|
|
|
namespace PriorBankParser.Dtos
|
|
{
|
|
public class TransactionDto
|
|
{
|
|
public string Contract { get; set; }
|
|
|
|
public DateTime TransactionDate { get; set; }
|
|
|
|
public string TransactionName { get; set; }
|
|
|
|
public string Category { get; set; }
|
|
|
|
public decimal Amount { get; set; }
|
|
|
|
public string Currency { get; set; }
|
|
|
|
public DateTime OperationDate { get; set; }
|
|
|
|
public decimal Commission { get; set; }
|
|
|
|
public decimal AccountTurnover { get; set; }
|
|
|
|
public bool IsIncome => Amount > 0 || Commission > 0;
|
|
}
|
|
}
|