2023-04-02 14:33:58 +04:00
|
|
|
|
using BankDataModels.Models;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace BankContracts.ViewModels
|
|
|
|
|
{
|
|
|
|
|
public class PaymentViewModel : IPaymentModel
|
|
|
|
|
{
|
2023-04-07 13:42:01 +04:00
|
|
|
|
[DisplayName("Номер платы")]
|
|
|
|
|
public int Id { get; set; }
|
2023-04-02 14:33:58 +04:00
|
|
|
|
[DisplayName("Дата платы")]
|
|
|
|
|
public DateTime PaymentDate { get; set; } = DateTime.Now.Date;
|
2023-04-06 21:07:40 +04:00
|
|
|
|
public Dictionary<int, IDealModel> DealPayments { get; set; } = new();
|
|
|
|
|
public Dictionary<int, ICurrencyModel> CurrencyPayments { get; set; } = new();
|
2023-04-07 13:42:01 +04:00
|
|
|
|
public int OperatorId { get; set; }
|
|
|
|
|
[DisplayName("ФИО оператора")]
|
|
|
|
|
public string OperatorName { get; set; } = string.Empty;
|
2023-04-02 14:33:58 +04:00
|
|
|
|
}
|
|
|
|
|
}
|