CourseWorkElectronicsShop/ElectronicsShop/ElectronicsShopContracts/ViewModels/PaymeantViewModel.cs

26 lines
684 B
C#
Raw Normal View History

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; }
[DisplayName("Статус оплаты")]
public PaymeantOption PayOption { get; set; } = PaymeantOption.Неоплачено;
}
2024-05-22 23:00:35 +04:00
}