25 lines
617 B
C#
25 lines
617 B
C#
|
using ElectronicsShopDataModels.Models;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace ElectronicsShopContracts.BindingModels
|
|||
|
{
|
|||
|
public class ProductBindingModel : IProductModel
|
|||
|
{
|
|||
|
//ID категории продукта (товара)
|
|||
|
public int CategoryID { get; set; }
|
|||
|
//ID продукта (товара)
|
|||
|
public int ID { get; set; }
|
|||
|
|
|||
|
|
|||
|
public string ProductName { get; set; } = string.Empty;
|
|||
|
|
|||
|
public double Price { get; set; }
|
|||
|
|
|||
|
public int Count { get; set; }
|
|||
|
}
|
|||
|
}
|