Добавление BindingModel кассира.
This commit is contained in:
parent
902adf5351
commit
5ecdedd94e
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||||||
|
|
||||||
namespace BankYouBankruptContracts.BindingModels
|
namespace BankYouBankruptContracts.BindingModels
|
||||||
{
|
{
|
||||||
public class Accound : IAccountModel
|
public class AccountBindingModel : IAccountModel
|
||||||
{
|
{
|
||||||
public int Id { get; set; }
|
public int Id { get; set; }
|
||||||
|
|
@ -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;
|
||||||
|
}
|
||||||
|
}
|
@ -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;
|
||||||
|
}
|
||||||
|
}
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
|||||||
namespace BankYouBankruptDataModels.Models
|
namespace BankYouBankruptDataModels.Models
|
||||||
{
|
{
|
||||||
//выдача наличных
|
//выдача наличных
|
||||||
public interface ICashWithdrawal : IId
|
public interface ICashWithdrawalModel : IId
|
||||||
{
|
{
|
||||||
int AccountId { get; }
|
int AccountId { get; }
|
||||||
|
|
Loading…
Reference in New Issue
Block a user