diff --git a/BankYouBankrupt/BankYouBankruptContracts/BindingModels/Accound.cs b/BankYouBankrupt/BankYouBankruptContracts/BindingModels/AccountBindingModel.cs similarity index 90% rename from BankYouBankrupt/BankYouBankruptContracts/BindingModels/Accound.cs rename to BankYouBankrupt/BankYouBankruptContracts/BindingModels/AccountBindingModel.cs index 4274a28..4cb52b9 100644 --- a/BankYouBankrupt/BankYouBankruptContracts/BindingModels/Accound.cs +++ b/BankYouBankrupt/BankYouBankruptContracts/BindingModels/AccountBindingModel.cs @@ -7,7 +7,7 @@ using System.Threading.Tasks; namespace BankYouBankruptContracts.BindingModels { - public class Accound : IAccountModel + public class AccountBindingModel : IAccountModel { public int Id { get; set; } diff --git a/BankYouBankrupt/BankYouBankruptContracts/BindingModels/CashWithdrawalBindingModel.cs b/BankYouBankrupt/BankYouBankruptContracts/BindingModels/CashWithdrawalBindingModel.cs new file mode 100644 index 0000000..b937e2e --- /dev/null +++ b/BankYouBankrupt/BankYouBankruptContracts/BindingModels/CashWithdrawalBindingModel.cs @@ -0,0 +1,20 @@ +using BankYouBankruptDataModels.Models; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace BankYouBankruptContracts.BindingModels +{ + public class CashWithdrawalBindingModel : ICashWithdrawalModel + { + public int Id { get; set; } + + public int AccountId { get; set; } + + public int Sum { get; set; } + + public DateTime DateOperation { get; set; } = DateTime.Now; + } +} diff --git a/BankYouBankrupt/BankYouBankruptContracts/BindingModels/CashierBindingModel.cs b/BankYouBankrupt/BankYouBankruptContracts/BindingModels/CashierBindingModel.cs new file mode 100644 index 0000000..cef1aa0 --- /dev/null +++ b/BankYouBankrupt/BankYouBankruptContracts/BindingModels/CashierBindingModel.cs @@ -0,0 +1,26 @@ +using BankYouBankruptDataModels.Models; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace BankYouBankruptContracts.BindingModels +{ + public class CashierBindingModel : ICashierModel + { + public int Id { get; set; } + + public string Password { get; set; } = string.Empty; + + public string Name { get; set; } = string.Empty; + + public string Surname { get; set; } = string.Empty; + + public string Patronymic { get; set; } = string.Empty; + + public string Email { get; set; } = string.Empty; + + public string Telephone { get; set; } = string.Empty; + } +} diff --git a/BankYouBankrupt/BankYouBankruptContracts/BindingModels/MoneyTransfer.cs b/BankYouBankrupt/BankYouBankruptContracts/BindingModels/MoneyTransferBindingModel.cs similarity index 100% rename from BankYouBankrupt/BankYouBankruptContracts/BindingModels/MoneyTransfer.cs rename to BankYouBankrupt/BankYouBankruptContracts/BindingModels/MoneyTransferBindingModel.cs diff --git a/BankYouBankrupt/BankYouBankruptDataModels/Models/ICashWithdrawal.cs b/BankYouBankrupt/BankYouBankruptDataModels/Models/ICashWithdrawalModel.cs similarity index 86% rename from BankYouBankrupt/BankYouBankruptDataModels/Models/ICashWithdrawal.cs rename to BankYouBankrupt/BankYouBankruptDataModels/Models/ICashWithdrawalModel.cs index 63d5771..2f77816 100644 --- a/BankYouBankrupt/BankYouBankruptDataModels/Models/ICashWithdrawal.cs +++ b/BankYouBankrupt/BankYouBankruptDataModels/Models/ICashWithdrawalModel.cs @@ -7,7 +7,7 @@ using System.Threading.Tasks; namespace BankYouBankruptDataModels.Models { //выдача наличных - public interface ICashWithdrawal : IId + public interface ICashWithdrawalModel : IId { int AccountId { get; }