From 9520f1e00119c3e6df62ff2b5be1edefc8a43b15 Mon Sep 17 00:00:00 2001 From: shadowik Date: Sat, 1 Apr 2023 08:29:52 +0400 Subject: [PATCH] ClientBindingModel --- .../BindingModels/CardBindingModel.cs | 24 +++++++++++++++++++ .../BindingModels/DebitingBindingModel.cs | 12 ++++++++++ 2 files changed, 36 insertions(+) create mode 100644 BankYouBankrupt/BankYouBankruptContracts/BindingModels/CardBindingModel.cs create mode 100644 BankYouBankrupt/BankYouBankruptContracts/BindingModels/DebitingBindingModel.cs diff --git a/BankYouBankrupt/BankYouBankruptContracts/BindingModels/CardBindingModel.cs b/BankYouBankrupt/BankYouBankruptContracts/BindingModels/CardBindingModel.cs new file mode 100644 index 0000000..eef9c81 --- /dev/null +++ b/BankYouBankrupt/BankYouBankruptContracts/BindingModels/CardBindingModel.cs @@ -0,0 +1,24 @@ +using BankYouBankruptDataModels.Models; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace BankYouBankruptContracts.BindingModels +{ + internal class CardBindingModel : ICardModel + { + public int Id { get; set; } + + public int ClientID { get; set; } + + public int AccountId { get; set; } + + public string Number { get; set; } = string.Empty; + + public string CVC { get; set; } = string.Empty; + + public DateTime Period { get; set; } = DateTime.Now; + } +} diff --git a/BankYouBankrupt/BankYouBankruptContracts/BindingModels/DebitingBindingModel.cs b/BankYouBankrupt/BankYouBankruptContracts/BindingModels/DebitingBindingModel.cs new file mode 100644 index 0000000..a93e253 --- /dev/null +++ b/BankYouBankrupt/BankYouBankruptContracts/BindingModels/DebitingBindingModel.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace BankYouBankruptContracts.BindingModels +{ + internal class DebitingBindingModel + { + } +}