настя воду намутила, я исправила
This commit is contained in:
parent
52b684f608
commit
314a113239
@ -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>
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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; }
|
||||
|
@ -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; }
|
||||
|
@ -3,6 +3,7 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BankContracts.SearchModels
|
||||
{
|
||||
public class CostSearchModel
|
||||
|
@ -3,6 +3,7 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BankContracts.SearchModels
|
||||
{
|
||||
public class EmployeeSearchModel
|
||||
|
@ -3,6 +3,7 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BankContracts.SearchModels
|
||||
{
|
||||
public class OperationSearchModel
|
||||
|
@ -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; }
|
||||
|
@ -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; }
|
||||
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace BankDataModels
|
||||
{
|
||||
internal class IClientModel : IId
|
||||
public interface IClientModel : IId
|
||||
{
|
||||
string Email { get; }
|
||||
string FirstName { get; }
|
||||
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace BankDataModels
|
||||
{
|
||||
internal class IPaymentModel : IId
|
||||
public interface IPaymentModel : IId
|
||||
{
|
||||
double PaidPrice { get; }
|
||||
DateOnly Date { get; }
|
||||
|
@ -7,7 +7,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace BankDataModels
|
||||
{
|
||||
internal class IPurchaseModel : IId
|
||||
public interface IPurchaseModel : IId
|
||||
{
|
||||
int ClientId { get; }
|
||||
DateOnly DatePurchase { get; }
|
||||
|
@ -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; }
|
||||
|
@ -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; }
|
||||
|
Loading…
Reference in New Issue
Block a user