CourseWorkElectronicsShop/ElectronicsShop/ElectronicsShopContracts/ViewModels/PaymentViewModel.cs

26 lines
683 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
{
public class PaymentViewModel : IPaymentModel {
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
}