PIAPS_CW/Contracts/BindingModels/ProductBindingModel.cs

20 lines
462 B
C#

using DataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Contracts.BindingModels
{
public class ProductBindingModel : IProduct
{
public Guid Id { get; set; }
public string Name { get; set; } = string.Empty;
public double Price { get; set; }
public int Amount { get; set; }
public bool IsBeingSold { get; set; }
public double Rate { get; set; }
}
}