Fase 3: Implementación de Listings (Avisos) - Entidades, Repositorio, API y Frontend Wizard integración

This commit is contained in:
2025-12-17 13:51:48 -03:00
parent f1bd25ea79
commit 1b88394b00
12 changed files with 353 additions and 4 deletions

View File

@@ -0,0 +1,17 @@
namespace SIGCM.Domain.Entities;
public class Listing
{
public int Id { get; set; }
public int CategoryId { get; set; }
public int OperationId { get; set; }
public required string Title { get; set; }
public string? Description { get; set; }
public decimal Price { get; set; }
public string Currency { get; set; } = "ARS"; // ARS, USD
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
public string Status { get; set; } = "Draft"; // Draft, Published, Sold, Paused
public int? UserId { get; set; }
// Navigation properties logic will be handled manually via repositories in Dapper
}