20 lines
773 B
C#
20 lines
773 B
C#
using System.Collections.Generic;
|
|
|
|
namespace HardwarePerformance.Models.DTOs
|
|
{
|
|
public class ProductDto
|
|
{
|
|
public int Id { get; set; }
|
|
public string Name { get; set; } = string.Empty;
|
|
public string Model { get; set; } = string.Empty;
|
|
public string Manufacturer { get; set; } = string.Empty;
|
|
public int CategoryId { get; set; }
|
|
public int CurrentRank { get; set; }
|
|
public DateTime ReleaseDate { get; set; }
|
|
public decimal? Price { get; set; }
|
|
public int? PerformanceScore { get; set; }
|
|
public CategoryDto? Category { get; set; }
|
|
public List<PerformanceScore> PerformanceScores { get; set; } = new();
|
|
public List<Specification> Specifications { get; set; } = new();
|
|
}
|
|
} |