2025-11-11 19:49:52 +00:00
|
|
|
|
using System;
|
2025-10-30 11:25:08 +00:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using Volo.Abp.Domain.Entities.Auditing;
|
|
|
|
|
|
using Volo.Abp.MultiTenancy;
|
|
|
|
|
|
|
2025-11-11 19:49:52 +00:00
|
|
|
|
namespace Erp.Platform.Entities;
|
2025-10-30 11:25:08 +00:00
|
|
|
|
|
|
|
|
|
|
public class MaterialGroup : FullAuditedEntity<Guid>, IMultiTenant
|
|
|
|
|
|
{
|
|
|
|
|
|
public Guid? TenantId { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public string Code { get; set; }
|
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public Guid? ParentGroupId { get; set; }
|
|
|
|
|
|
public MaterialGroup ParentGroup { get; set; }
|
|
|
|
|
|
public ICollection<MaterialGroup> SubGroups { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
public string Description { get; set; }
|
|
|
|
|
|
public bool IsActive { get; set; }
|
2025-11-06 20:29:14 +00:00
|
|
|
|
|
|
|
|
|
|
public ICollection<Material> Materials { get; set; }
|
2025-10-30 11:25:08 +00:00
|
|
|
|
}
|
2025-11-11 19:49:52 +00:00
|
|
|
|
|