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

22 lines
685 B
C#
Raw Normal View History

2026-01-07 11:34:25 -03:00
namespace SIGCM.Domain.Entities;
public class Product
{
public int Id { get; set; }
public int CompanyId { get; set; }
public int ProductTypeId { get; set; }
public required string Name { get; set; }
public string? Description { get; set; }
public string? SKU { get; set; }
public string? ExternalId { get; set; }
public decimal BasePrice { get; set; }
public decimal TaxRate { get; set; } // 21.0, 10.5, etc.
public string Currency { get; set; } = "ARS";
public bool IsActive { get; set; } = true;
// Propiedades auxiliares para Joins
public string? CompanyName { get; set; }
public string? TypeCode { get; set; } // 'CLASSIFIED_AD', 'PHYSICAL', etc.
}