2024-05-25 15:04:18 +04:00
|
|
|
|
using ElectronicsShopDataModels.Enums;
|
|
|
|
|
using ElectronicsShopDataModels.Models;
|
2024-05-22 23:00:35 +04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace ElectronicsShopContracts.ViewModels
|
|
|
|
|
{
|
2024-05-26 18:12:25 +04:00
|
|
|
|
public class PaymeantViewModel : IPaymentModel {
|
2024-05-22 23:00:35 +04:00
|
|
|
|
public int ID { get; set; }
|
|
|
|
|
|
|
|
|
|
public int ProductID { get; set; }
|
|
|
|
|
|
|
|
|
|
public int OrderID { get; set; }
|
|
|
|
|
|
|
|
|
|
[DisplayName("Cумма оплаты продукта")]
|
|
|
|
|
public double SumPayment { get; set; }
|
2024-05-25 15:04:18 +04:00
|
|
|
|
|
|
|
|
|
[DisplayName("Статус оплаты")]
|
2024-05-25 17:47:14 +04:00
|
|
|
|
public PaymeantOption PayOption { get; set; } = PaymeantOption.Неоплачено;
|
2024-05-25 15:04:18 +04:00
|
|
|
|
}
|
2024-05-22 23:00:35 +04:00
|
|
|
|
}
|