2024-06-17 14:04:22 +04:00
|
|
|
|
using DataModels.Models;
|
|
|
|
|
using System;
|
2024-06-11 12:18:10 +04:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Contracts.BindingModels
|
|
|
|
|
{
|
2024-06-17 14:04:22 +04:00
|
|
|
|
public class ProductBindingModel : IProduct
|
2024-06-11 12:18:10 +04:00
|
|
|
|
{
|
|
|
|
|
public Guid Id { get; set; }
|
|
|
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
|
public double Price { get; set; }
|
|
|
|
|
public int Amount { get; set; }
|
2024-06-17 14:04:22 +04:00
|
|
|
|
public bool IsBeingSold { get; set; }
|
|
|
|
|
public double Rate { get; set; }
|
2024-07-26 02:46:29 +04:00
|
|
|
|
public string? Description { get; set; }
|
|
|
|
|
public string? Category { get; set; }
|
|
|
|
|
public Guid? SaleId { get; set; }
|
|
|
|
|
}
|
2024-06-11 12:18:10 +04:00
|
|
|
|
}
|