CheckPoint: Avances Varios
This commit is contained in:
@@ -8,10 +8,19 @@ public class Listing
|
||||
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 string Currency { get; set; } = "ARS";
|
||||
public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
|
||||
public string Status { get; set; } = "Draft"; // Draft, Published, Sold, Paused
|
||||
public string Status { get; set; } = "Draft";
|
||||
public int? UserId { get; set; }
|
||||
|
||||
// Navigation properties logic will be handled manually via repositories in Dapper
|
||||
}
|
||||
|
||||
// Propiedades para impresión
|
||||
public string? PrintText { get; set; }
|
||||
public DateTime? PrintStartDate { get; set; }
|
||||
public int PrintDaysCount { get; set; }
|
||||
public string PrintFontSize { get; set; } = "normal";
|
||||
public string PrintAlignment { get; set; } = "left";
|
||||
|
||||
// Propiedades auxiliares (no están en la tabla Listings, vienen de Joins/Subqueries)
|
||||
public string? CategoryName { get; set; }
|
||||
public string? MainImageUrl { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user