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

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> <ItemGroup>
<PackageReference Include="Microsoft.Extensions.Logging" Version="7.0.0" /> <PackageReference Include="Microsoft.Extensions.Logging" Version="7.0.0" />
<PackageReference Include="System.Drawing.Common" Version="7.0.0" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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