Добавление моделей для кассира.

This commit is contained in:
Programmist73 2023-04-01 12:11:09 +04:00
parent c53b430ea5
commit 4f49943332
4 changed files with 47 additions and 2 deletions

View File

@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BankYouBankruptDataModels.Models
{
public interface IAccountModel : IId
{
int CashierId { get; }
int ClientId { get; }
string PasswordAccount { get; }
double Balance { get; }
DateTime DateOpen { get; }
}
}

View File

@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BankYouBankruptDataModels.Models
{
public interface ICashWithdrawal : IId
{
int AccountId { get; }
int Sum { get; }
DateTime DateOperation { get; }
}
}

View File

@ -6,7 +6,7 @@ using System.Threading.Tasks;
namespace BankYouBankruptDataModels.Models
{
public interface ICashierModel
public interface ICashierModel : IId
{
string Password { get; }

View File

@ -6,7 +6,14 @@ using System.Threading.Tasks;
namespace BankYouBankruptDataModels.Models
{
public interface IMoneyTransferModel
public interface IMoneyTransferModel : IId
{
int Sum { get; }
int AccountSenderId { get; }
int AccountPayeeId { get; }
DateTime DateOperation { get; }
}
}