22 lines
685 B
C#
22 lines
685 B
C#
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.
|
|
} |