Feat Backend ERP 1
This commit is contained in:
22
src/SIGCM.Domain/Entities/Product.cs
Normal file
22
src/SIGCM.Domain/Entities/Product.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
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.
|
||||
}
|
||||
Reference in New Issue
Block a user