Созданы интерфейсы моделей данных роли Заказчик

This commit is contained in:
abazov73 2023-04-01 21:22:20 +04:00
parent f9a5a87373
commit fe8c375d93
3 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BankDataModels.Models
{
public interface IOperatorModel : IId
{
string Login { get; }
string Password { get; }
string LastName { get; }
string FirstName { get; }
string? MiddleName { get; }
}
}

View File

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BankDataModels.Models
{
public interface IPaymentModel : IId
{
DateTime PaymentDate { get; }
Dictionary<int, IDealModel> Deals { get; }
Dictionary<int, ICurrencyModel> Currencies { get; }
}
}

View File

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BankDataModels.Models
{
public interface ITransferModel : IId
{
float Amount { get; }
DateTime TransferDateTime { get; }
int PaymentId { get; }
}
}