From ff2387ce9bed0481f3efaa35c6fc9e4715019d1e Mon Sep 17 00:00:00 2001 From: shadowik Date: Sat, 1 Apr 2023 08:09:51 +0400 Subject: [PATCH] Clients Models --- .../Models/ICreditingModel.cs | 17 +++++++++++++++ .../Models/IDebitingModel.cs | 17 +++++++++++++++ .../Models/IСardModel.cs | 21 +++++++++++++++++++ 3 files changed, 55 insertions(+) create mode 100644 BankYouBankrupt/BankYouBankruptDataModels/Models/ICreditingModel.cs create mode 100644 BankYouBankrupt/BankYouBankruptDataModels/Models/IDebitingModel.cs create mode 100644 BankYouBankrupt/BankYouBankruptDataModels/Models/IСardModel.cs diff --git a/BankYouBankrupt/BankYouBankruptDataModels/Models/ICreditingModel.cs b/BankYouBankrupt/BankYouBankruptDataModels/Models/ICreditingModel.cs new file mode 100644 index 0000000..3c933c3 --- /dev/null +++ b/BankYouBankrupt/BankYouBankruptDataModels/Models/ICreditingModel.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace BankYouBankruptDataModels.Models +{ + public interface ICreditingModel : IId + { + int CardId { get; } + + int Sum { get; } + + DateTime date { get; } + } +} diff --git a/BankYouBankrupt/BankYouBankruptDataModels/Models/IDebitingModel.cs b/BankYouBankrupt/BankYouBankruptDataModels/Models/IDebitingModel.cs new file mode 100644 index 0000000..ef635c0 --- /dev/null +++ b/BankYouBankrupt/BankYouBankruptDataModels/Models/IDebitingModel.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace BankYouBankruptDataModels.Models +{ + public interface IDebitingModel : IId + { + int CardId { get; } + + int Sum { get; } + + DateTime date { get; } + } +} diff --git a/BankYouBankrupt/BankYouBankruptDataModels/Models/IСardModel.cs b/BankYouBankrupt/BankYouBankruptDataModels/Models/IСardModel.cs new file mode 100644 index 0000000..62d430d --- /dev/null +++ b/BankYouBankrupt/BankYouBankruptDataModels/Models/IСardModel.cs @@ -0,0 +1,21 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace BankYouBankruptDataModels.Models +{ + public interface ICardModel : IId + { + int ClientID { get; } + + int AccountId { get; } + + string Number { get; } + + string CVC { get; } + + DateTime Period { get; } + } +}