PIAPS_CW/Contracts/ViewModels/ProductViewModel.cs

21 lines
566 B
C#
Raw Permalink Normal View History

using DataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Contracts.ViewModels
{
public class ProductViewModel
{
public Guid Id { get; set; }
public string Name { get; set; } = string.Empty;
public double Price { get; set; }
2024-06-20 22:32:22 +04:00
public double Rating { get; set; }
public bool IsBeingSold { get; set; }
public int Amount { get; set; }
public List<MediaFileViewModel> MediaFiles { get; set; } = new();
}
}