diff --git a/BankYouBankrupt/BankYouBankruptContracts/SearchModels/CardSearchModel.cs b/BankYouBankrupt/BankYouBankruptContracts/SearchModels/CardSearchModel.cs new file mode 100644 index 0000000..385ad11 --- /dev/null +++ b/BankYouBankrupt/BankYouBankruptContracts/SearchModels/CardSearchModel.cs @@ -0,0 +1,23 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace BankYouBankruptContracts.SearchModels +{ + public class CardSearchModel + { + public int? Id { get; set; } + + public int? ClientID { get; set; } + + public int? AccountId { get; set; } + + public string? Number { get; set; } + + public string? CVC { get; set; } + + public DateTime? Period { get; set; } + } +} diff --git a/BankYouBankrupt/BankYouBankruptContracts/SearchModels/ClientSearchModel.cs b/BankYouBankrupt/BankYouBankruptContracts/SearchModels/ClientSearchModel.cs new file mode 100644 index 0000000..1fdbd2f --- /dev/null +++ b/BankYouBankrupt/BankYouBankruptContracts/SearchModels/ClientSearchModel.cs @@ -0,0 +1,23 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace BankYouBankruptContracts.SearchModels +{ + public class ClientSearchModel + { + public int? Id { get; set; } + + public string? Name { get; set; } + + public string? Surname { get; set; } + + public string? Patronymic { get; set; } + + public string? Email { get; set; } + + public string? Password { get; set; } + } +} diff --git a/BankYouBankrupt/BankYouBankruptContracts/SearchModels/DebitingSearchModel.cs b/BankYouBankrupt/BankYouBankruptContracts/SearchModels/DebitingSearchModel.cs new file mode 100644 index 0000000..6000569 --- /dev/null +++ b/BankYouBankrupt/BankYouBankruptContracts/SearchModels/DebitingSearchModel.cs @@ -0,0 +1,19 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace BankYouBankruptContracts.SearchModels +{ + public class DebitingSearchModel + { + public int? Id { get; set; } + + public int? CardId { get; set; } + + public int? Sum { get; set; } + + public DateTime? date { get; set; } + } +} diff --git a/BankYouBankrupt/BankYouBankruptContracts/ViewModels/CardViewModel.cs b/BankYouBankrupt/BankYouBankruptContracts/ViewModels/CardViewModel.cs index c17e391..d434f46 100644 --- a/BankYouBankrupt/BankYouBankruptContracts/ViewModels/CardViewModel.cs +++ b/BankYouBankrupt/BankYouBankruptContracts/ViewModels/CardViewModel.cs @@ -6,7 +6,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace PizzeriaContracts.ViewModels +namespace BankYouBankruptContracts.ViewModels { public class CardViewModel : ICardModel { diff --git a/BankYouBankrupt/BankYouBankruptContracts/ViewModels/CreditingViewModel.cs b/BankYouBankrupt/BankYouBankruptContracts/ViewModels/CreditingViewModel.cs index 55c05d3..1ded21f 100644 --- a/BankYouBankrupt/BankYouBankruptContracts/ViewModels/CreditingViewModel.cs +++ b/BankYouBankrupt/BankYouBankruptContracts/ViewModels/CreditingViewModel.cs @@ -6,7 +6,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace PizzeriaContracts.ViewModels +namespace BankYouBankruptContracts.ViewModels { public class CreditingViewModel : ICreditingModel { diff --git a/BankYouBankrupt/BankYouBankruptContracts/ViewModels/DebitingViewModel .cs b/BankYouBankrupt/BankYouBankruptContracts/ViewModels/DebitingViewModel .cs index e58e0fd..138517e 100644 --- a/BankYouBankrupt/BankYouBankruptContracts/ViewModels/DebitingViewModel .cs +++ b/BankYouBankrupt/BankYouBankruptContracts/ViewModels/DebitingViewModel .cs @@ -6,7 +6,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace PizzeriaContracts.ViewModels +namespace BankYouBankruptContracts.ViewModels { public class DebitingViewModel : IDebitingModel {