This commit is contained in:
shadowik 2023-04-01 08:29:57 +04:00
commit 502e9f72e6
5 changed files with 48 additions and 2 deletions

View File

@ -7,7 +7,7 @@ using System.Threading.Tasks;
namespace BankYouBankruptContracts.BindingModels
{
public class Accound : IAccountModel
public class AccountBindingModel : IAccountModel
{
public int Id { get; set; }

View File

@ -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;
}
}

View File

@ -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;
}
}

View File

@ -7,7 +7,7 @@ using System.Threading.Tasks;
namespace BankYouBankruptDataModels.Models
{
//выдача наличных
public interface ICashWithdrawal : IId
public interface ICashWithdrawalModel : IId
{
int AccountId { get; }