Files
ShopSolution-backend/Webshop.Application/DTOs/Reviews/ReviewDto.cs
Tizian.Breuch 5b84ccc575 review
2025-09-08 11:24:10 +02:00

18 lines
612 B
C#

// src/Webshop.Application/DTOs/Reviews/ReviewDto.cs
using System;
namespace Webshop.Application.DTOs.Reviews
{
public class ReviewDto
{
public Guid Id { get; set; }
public Guid ProductId { get; set; }
public string? ProductName { get; set; } // Für Admin-Ansicht
public string CustomerName { get; set; } = string.Empty;
public int Rating { get; set; }
public string Title { get; set; } = string.Empty;
public string? Comment { get; set; }
public DateTimeOffset ReviewDate { get; set; }
public bool IsApproved { get; set; }
}
}