// Domain/Entities/MmMaterial.cs using System; using System.Collections.Generic; using Volo.Abp.Domain.Entities.Auditing; using Volo.Abp.MultiTenancy; namespace Erp.Platform.Entities; public class Material : FullAuditedEntity, IMultiTenant { public Guid? TenantId { get; set; } public string Code { get; set; } public string Name { get; set; } public string Barcode { get; set; } public string Description { get; set; } public Guid? MaterialTypeId { get; set; } public MaterialType? MaterialType { get; set; } public Guid? MaterialGroupId { get; set; } public MaterialGroup? MaterialGroup { get; set; } public string Uom { get; set; } public decimal CostPrice { get; set; } public decimal SalesPrice { get; set; } public string Currency { get; set; } public bool IsActive { get; set; } public decimal TotalStock { get; set; } public string TrackingType { get; set; } //'Quantity' | 'Lot' | 'Serial' // Relations public List AlternativeUoms { get; set; } public List Suppliers { get; set; } public List Boms { get; set; } public List BomComponents { get; set; } public List Specifications { get; set; } public List WorkorderMaterials { get; set; } public List RequestItems { get; set; } public List QuotationItems { get; set; } public List PurchaseOrderItems { get; set; } public List SalesOrderItems { get; set; } public List MovementItems { get; set; } }