Files
SIG-CM/src/SIGCM.Domain/Entities/Listing.cs

18 lines
641 B
C#
Raw Normal View History

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
}