2024-05-22 23:00:35 +04:00
|
|
|
|
using ElectronicsShopDataModels.Enums;
|
|
|
|
|
using ElectronicsShopDataModels.Models;
|
2024-04-27 13:01:57 +04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace ElectronicsShopContracts.BindingModels
|
|
|
|
|
{
|
2024-05-22 23:00:35 +04:00
|
|
|
|
public class ProductBindingModel : IProductModel {
|
|
|
|
|
public int ID { get; set; }
|
2024-04-27 13:01:57 +04:00
|
|
|
|
|
2024-05-22 23:00:35 +04:00
|
|
|
|
public int CostItemID { get; set; }
|
2024-04-27 13:01:57 +04:00
|
|
|
|
|
2024-05-22 23:00:35 +04:00
|
|
|
|
public string ProductName { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
|
|
public double Price { get; set; }
|
|
|
|
|
|
|
|
|
|
public PaymeantOption PayOption { get; set; } = PaymeantOption.Неоплачено;
|
|
|
|
|
}
|
2024-04-27 13:01:57 +04:00
|
|
|
|
}
|