настя воду намутила, я исправила
This commit is contained in:
parent
52b684f608
commit
314a113239
@ -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>
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
@ -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; }
|
||||||
|
@ -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; }
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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; }
|
||||||
|
@ -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; }
|
||||||
|
@ -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; }
|
||||||
|
@ -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; }
|
||||||
|
@ -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; }
|
||||||
|
@ -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; }
|
||||||
|
@ -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; }
|
||||||
|
Loading…
Reference in New Issue
Block a user