namespace SIGCM.Domain.Entities;

public class Claim
{
  public int Id { get; set; }
  public int ListingId { get; set; }
  public int CreatedByUserId { get; set; }
  public required string ClaimType { get; set; }
  public required string Description { get; set; }
  public string Status { get; set; } = "Open";
  public string? SolutionDescription { get; set; }
  public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
  public DateTime? ResolvedAt { get; set; }
  public int? ResolvedByUserId { get; set; }
  public string? OriginalValues { get; set; }

  // Propiedades auxiliares para mostrar en UI
  public string? CreatedByUsername { get; set; }
  public string? ResolvedByUsername { get; set; }
}