PIbd-23_Elatomtsev_L.K._Cou.../Bank/BankContracts/BindingModels/DepositBindingModel.cs

16 lines
461 B
C#

using BankDataModels.Models;
namespace BankContracts.BindingModels
{
public class DepositBindingModel : IDepositModel
{
public int Id { get; set; }
public int WorkerId { get; set; }
public double Sum { get; set; }
public DateOnly OpeningDate { get; set; } =
DateOnly.FromDateTime(DateTime.Now);
public Dictionary<int, ICurrencyModel>
DepositCurrencies { get; set; } = new();
}
}