ой усталь
This commit is contained in:
parent
8154f3e76d
commit
7cff7ec9bc
@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using BankDataModels.HelperInterfaces;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
@ -6,7 +7,13 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace BankDataModels
|
||||
{
|
||||
internal class IClientModel
|
||||
internal class IClientModel : IId
|
||||
{
|
||||
string Email { get; }
|
||||
string FirstName { get; }
|
||||
string LastName { get; }
|
||||
string? MiddleName { get; }
|
||||
string PhoneNumber { get; }
|
||||
string Password { get; }
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using BankDataModels.HelperInterfaces;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
@ -6,7 +7,10 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace BankDataModels
|
||||
{
|
||||
internal class IPaymentModel
|
||||
internal class IPaymentModel : IId
|
||||
{
|
||||
double PaidPrice { get; }
|
||||
DateOnly Date { get; }
|
||||
int OperationByPurchaseId { get; }
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using BankDataModels.HelperInterfaces;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
@ -6,7 +7,9 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace BankDataModels
|
||||
{
|
||||
internal class IPurchaseModel
|
||||
internal class IPurchaseModel : IId
|
||||
{
|
||||
int ClientId { get; }
|
||||
DateOnly DatePurchase { get; }
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using BankDataModels.HelperInterfaces;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
@ -6,7 +7,11 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace BankDataModels.ProxyModels
|
||||
{
|
||||
internal class CostByPurchaseModel
|
||||
internal class CostByPurchaseModel : IId
|
||||
{
|
||||
public virtual int Id { get; set; }
|
||||
public virtual int CostId { get; set; }
|
||||
public virtual int PurchaseId { get; set; }
|
||||
public virtual int Count { get; set; }
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using BankDataModels.HelperInterfaces;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
@ -6,7 +7,11 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace BankDataModels.ProxyModels
|
||||
{
|
||||
internal class OperationByPurchaseModel
|
||||
internal class OperationByPurchaseModel : IId
|
||||
{
|
||||
public virtual int Id { get; set; }
|
||||
public virtual int OperationId { get; set; }
|
||||
public virtual int PurchaseId { get; set; }
|
||||
public virtual int CountOperations { get; set; }
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user