erp-platform/api/src/Erp.Platform.Domain/Entities/Tenant/Administration/Uom.cs

27 lines
734 B
C#
Raw Normal View History

2025-11-11 19:49:52 +00:00
using System;
2025-11-06 20:29:14 +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;
public class Uom : FullAuditedEntity<Guid>, IMultiTenant
{
public Guid? TenantId { get; set; }
public Guid UomCategoryId { get; set; }
2025-11-06 20:29:14 +00:00
public UomCategory UomCategory { get; set; }
public string Name { get; set; }
public string Type { get; set; }
public decimal Ratio { get; set; }
public bool IsActive { get; set; }
public decimal Rounding { get; set; }
Guid? IMultiTenant.TenantId => TenantId;
2025-11-06 20:29:14 +00:00
public ICollection<Material> Materials { get; set; }
public ICollection<MaterialSpecification> MaterialSpecifications { get; set; }
}
2025-11-11 19:49:52 +00:00