2024-06-17 14:32:12 +04:00
|
|
|
|
using DataModels.Models;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Contracts.ViewModels
|
|
|
|
|
{
|
2024-06-23 17:04:26 +04:00
|
|
|
|
public class ProductViewModel : IProduct
|
2024-06-17 14:32:12 +04:00
|
|
|
|
{
|
|
|
|
|
public Guid Id { get; set; }
|
|
|
|
|
public string Name { get; set; } = string.Empty;
|
2024-06-22 18:13:07 +04:00
|
|
|
|
public double Price { get; set; }
|
2024-07-26 02:46:29 +04:00
|
|
|
|
public double ActualPrice { get; set; }
|
2024-06-23 17:04:26 +04:00
|
|
|
|
public double Rate { get; set; }
|
2024-06-20 22:32:22 +04:00
|
|
|
|
public bool IsBeingSold { get; set; }
|
|
|
|
|
public int Amount { get; set; }
|
2024-07-26 02:46:29 +04:00
|
|
|
|
public string? Category { get; set; }
|
|
|
|
|
public string? Description { get; set; }
|
2024-06-17 14:32:12 +04:00
|
|
|
|
public List<MediaFileViewModel> MediaFiles { get; set; } = new();
|
2024-07-26 02:46:29 +04:00
|
|
|
|
public Guid? SaleId { get; set; }
|
2024-06-17 14:32:12 +04:00
|
|
|
|
}
|
|
|
|
|
}
|