ClientBindingModel

This commit is contained in:
shadowik 2023-04-01 08:34:22 +04:00
parent 502e9f72e6
commit 682253ad3c
3 changed files with 31 additions and 3 deletions

View File

@ -7,7 +7,7 @@ using System.Threading.Tasks;
namespace BankYouBankruptContracts.BindingModels
{
internal class CardBindingModel : ICardModel
public class CardBindingModel : ICardModel
{
public int Id { get; set; }

View File

@ -0,0 +1,20 @@
using BankYouBankruptDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BankYouBankruptContracts.BindingModels
{
public class CreditingBindingModel : ICreditingModel
{
public int Id { get; set; }
public int CardId { get; set; }
public int Sum { get; set; }
public DateTime date { get; set; } = DateTime.Now;
}
}

View File

@ -1,4 +1,5 @@
using System;
using BankYouBankruptDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@ -6,7 +7,14 @@ using System.Threading.Tasks;
namespace BankYouBankruptContracts.BindingModels
{
internal class DebitingBindingModel
public class DebitingBindingModel : IDebitingModel
{
public int Id { get; set; }
public int CardId { get; set; }
public int Sum { get; set; }
public DateTime date { get; set; } = DateTime.Now;
}
}