Merge branch 'main' of http://student.git.athene.tech/shadowik/CourseWork_BankYouBankrupt
This commit is contained in:
commit
502e9f72e6
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace BankYouBankruptContracts.BindingModels
|
||||
{
|
||||
public class Accound : IAccountModel
|
||||
public class AccountBindingModel : IAccountModel
|
||||
{
|
||||
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
|
||||
{
|
||||
//выдача наличных
|
||||
public interface ICashWithdrawal : IId
|
||||
public interface ICashWithdrawalModel : IId
|
||||
{
|
||||
int AccountId { get; }
|
||||
|
Loading…
Reference in New Issue
Block a user