diff --git a/BankYouBankrupt/BankYouBankruptContracts/SearchModels/AccountSearchModel.cs b/BankYouBankrupt/BankYouBankruptContracts/SearchModels/AccountSearchModel.cs index 38d968b..90f6327 100644 --- a/BankYouBankrupt/BankYouBankruptContracts/SearchModels/AccountSearchModel.cs +++ b/BankYouBankrupt/BankYouBankruptContracts/SearchModels/AccountSearchModel.cs @@ -8,15 +8,17 @@ namespace BankYouBankruptContracts.SearchModels { public class AccountSearchModel { - public string AccountNumber { get; set; } = string.Empty; + public int? Id { get; set; } - public int CashierId { get; set; } + public string? AccountNumber { get; set; } = string.Empty; - public int ClientId { get; set; } + public int? CashierId { get; set; } - public string PasswordAccount { get; set; } = string.Empty; + public int? ClientId { get; set; } - public double Balance { get; set; } + public string? PasswordAccount { get; set; } = string.Empty; + + public double? Balance { get; set; } public DateTime? DateOpen { get; set; } } diff --git a/BankYouBankrupt/BankYouBankruptContracts/SearchModels/CashWithdrawalSearchModel.cs b/BankYouBankrupt/BankYouBankruptContracts/SearchModels/CashWithdrawalSearchModel.cs index 4da41a0..b629919 100644 --- a/BankYouBankrupt/BankYouBankruptContracts/SearchModels/CashWithdrawalSearchModel.cs +++ b/BankYouBankrupt/BankYouBankruptContracts/SearchModels/CashWithdrawalSearchModel.cs @@ -8,6 +8,8 @@ namespace BankYouBankruptContracts.SearchModels { public class CashWithdrawalSearchModel { + public int? Id { get; set; } + public int? AccountId { get; set; } public int? Sum { get; set; } diff --git a/BankYouBankrupt/BankYouBankruptContracts/SearchModels/MoneyTransferSearchModel.cs b/BankYouBankrupt/BankYouBankruptContracts/SearchModels/MoneyTransferSearchModel.cs new file mode 100644 index 0000000..fd1bbcc --- /dev/null +++ b/BankYouBankrupt/BankYouBankruptContracts/SearchModels/MoneyTransferSearchModel.cs @@ -0,0 +1,21 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace BankYouBankruptContracts.SearchModels +{ + public class MoneyTransferSearchModel + { + public int? Id { get; set; } + + public int? Sum { get; set; } + + public int? AccountSenderId { get; set; } + + public int? AccountPayeeId { get; set; } + + public DateTime? DateOperation { get; set; } + } +}