TransactionsDTO.cs 508 B

1234567891011121314151617
  1. namespace BankOperationsUpdate.WorkerService.Data.Models;
  2. public class TransactionsDTO
  3. {
  4. public Guid Id { get; set; }
  5. public int Version { get; set; }
  6. public bool IsNew => Id == Guid.Empty;
  7. public Guid BankOperationId { get; set; }
  8. public decimal? IncomeAmount { get; set; }
  9. public decimal? OutcomeAmount { get; set; }
  10. public decimal BalanceAmount { get; set; }
  11. public bool IsChanged { get; set; }
  12. public long OperationOrderId { get; set; }
  13. public decimal ChangedDifference { get; set; }
  14. }