настя воду намутила, я исправила

This commit is contained in:
Whoisthatjulia 2024-04-30 21:40:44 +04:00
parent 52b684f608
commit 314a113239
15 changed files with 20 additions and 11 deletions

View File

@ -8,6 +8,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Logging" Version="7.0.0" />
<PackageReference Include="System.Drawing.Common" Version="7.0.0" />
</ItemGroup>
<ItemGroup>

View File

@ -3,10 +3,12 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BankDataModels;
using BankDataModels.HelperInterfaces;
namespace BankContracts.BindingModels
{
internal class ClientBindingModel : IClientModel
public class ClientBindingModel : IClientModel
{
public string FirstName { get; set; } = string.Empty;

View File

@ -3,10 +3,11 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BankDataModels;
namespace BankContracts.BindingModels
{
internal class PaymentBindingModel : IPaymentModel
public class PaymentBindingModel : IPaymentModel
{
public DateOnly Date { get; set; } = DateOnly.FromDateTime(DateTime.Now);

View File

@ -3,10 +3,12 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BankDataModels;
using BankDataModels.ProxyModels;
namespace BankContracts.BindingModels
{
internal class PurchaseBindingModel : IPurchaseModel
public class PurchaseBindingModel : IPurchaseModel
{
public int ClientId { get; set; }
public DateOnly DatePurchase { get; set; }

View File

@ -6,7 +6,7 @@ using System.Threading.Tasks;
namespace BankContracts.SearchModels
{
internal class ClientSearchModel
public class ClientSearchModel
{
public int? Id { get; set; }
public string? PhoneNumber { get; set; }

View File

@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BankContracts.SearchModels
{
public class CostSearchModel

View File

@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BankContracts.SearchModels
{
public class EmployeeSearchModel

View File

@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BankContracts.SearchModels
{
public class OperationSearchModel

View File

@ -6,7 +6,7 @@ using System.Threading.Tasks;
namespace BankContracts.SearchModels
{
internal class PaymentSearchModel
public class PaymentSearchModel
{
public int? Id { get; set; }
public int? OperationId { get; set; }

View File

@ -6,7 +6,7 @@ using System.Threading.Tasks;
namespace BankContracts.SearchModels
{
internal class PurchaseSearchModel
public class PurchaseSearchModel
{
public int? Id { get; set; }
public DateOnly? DateTo { get; set; }

View File

@ -7,7 +7,7 @@ using System.Threading.Tasks;
namespace BankDataModels
{
internal class IClientModel : IId
public interface IClientModel : IId
{
string Email { get; }
string FirstName { get; }

View File

@ -7,7 +7,7 @@ using System.Threading.Tasks;
namespace BankDataModels
{
internal class IPaymentModel : IId
public interface IPaymentModel : IId
{
double PaidPrice { get; }
DateOnly Date { get; }

View File

@ -7,7 +7,7 @@ using System.Threading.Tasks;
namespace BankDataModels
{
internal class IPurchaseModel : IId
public interface IPurchaseModel : IId
{
int ClientId { get; }
DateOnly DatePurchase { get; }

View File

@ -7,7 +7,7 @@ using System.Threading.Tasks;
namespace BankDataModels.ProxyModels
{
internal class CostByPurchaseModel : IId
public class CostByPurchaseModel : IId
{
public virtual int Id { get; set; }
public virtual int CostId { get; set; }

View File

@ -7,7 +7,7 @@ using System.Threading.Tasks;
namespace BankDataModels.ProxyModels
{
internal class OperationByPurchaseModel : IId
public class OperationByPurchaseModel : IId
{
public virtual int Id { get; set; }
public virtual int OperationId { get; set; }