From f11284cd616c9e519bb06d4fb6dd191b2ba5a9ed Mon Sep 17 00:00:00 2001 From: Programmist73 Date: Sat, 1 Apr 2023 13:24:30 +0400 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BD=D0=B0=D0=BB=D1=8C=D0=BD?= =?UTF-8?q?=D0=BE=D0=B5=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20SeacrhModel=20=D1=83=20=D0=BA=D0=B0=D1=81=D1=81?= =?UTF-8?q?=D0=B8=D1=80=D0=B0.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../SearchModels/AccountSearchModel.cs | 12 ++++++----- .../SearchModels/CashWithdrawalSearchModel.cs | 2 ++ .../SearchModels/MoneyTransferSearchModel.cs | 21 +++++++++++++++++++ 3 files changed, 30 insertions(+), 5 deletions(-) create mode 100644 BankYouBankrupt/BankYouBankruptContracts/SearchModels/MoneyTransferSearchModel.cs 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; } + } +}