2024-04-28 21:34:43 +04:00
|
|
|
|
using BankDataModels;
|
|
|
|
|
using BankDataModels.ProxyModels;
|
|
|
|
|
using System;
|
2024-04-28 20:20:37 +04:00
|
|
|
|
using System.Collections.Generic;
|
2024-04-28 21:34:43 +04:00
|
|
|
|
using System.ComponentModel;
|
2024-04-28 20:20:37 +04:00
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace BankContracts.ViewModels
|
|
|
|
|
{
|
2024-04-28 21:34:43 +04:00
|
|
|
|
public class PaymentViewModel : IPaymentModel
|
2024-04-28 20:20:37 +04:00
|
|
|
|
{
|
2024-04-28 21:34:43 +04:00
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
public int OperationByPurchaseModelId { get; set; }
|
|
|
|
|
[DisplayName("Стоимость")]
|
|
|
|
|
public double FullPrice { get; set; }
|
|
|
|
|
[DisplayName("Оплаченная стоимость")]
|
|
|
|
|
public double PaidPrice { get; set; }
|
|
|
|
|
public int OperationByPurchaseId { get; set; }
|
|
|
|
|
[DisplayName("Дата оплаты")]
|
|
|
|
|
public DateOnly Date { get; set; } = DateOnly.FromDateTime(DateTime.Now);
|
|
|
|
|
public OperationByPurchaseModel OperationByPurchase { get; set; }
|
|
|
|
|
|
|
|
|
|
// Машины для отчета за период
|
|
|
|
|
public OperationViewModel Operation { get; set; }
|
2024-04-28 20:20:37 +04:00
|
|
|
|
}
|
|
|
|
|
}
|