namespace BankOperationsUpdate.WorkerService.Data.Models;

public class TransactionsDTO
{
	public Guid Id { get; set; }
	public int Version { get; set; }
	public bool IsNew => Id == Guid.Empty;
	public Guid BankOperationId { get; set; }
	public decimal? IncomeAmount { get; set; }
	public decimal? OutcomeAmount { get; set; }
	public decimal BalanceAmount { get; set; }
	public bool IsChanged { get; set; }
}

