ой усталь

This commit is contained in:
trofimova.05 2024-04-28 19:54:02 +03:00
parent 8154f3e76d
commit 7cff7ec9bc
5 changed files with 34 additions and 10 deletions

View File

@ -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; }
}
}

View File

@ -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; }
}
}

View File

@ -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; }
}
}

View File

@ -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; }
}
}

View File

@ -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; }
}
}