2025-11-11 19:49:52 +00:00
|
|
|
|
using System;
|
2025-11-06 20:29:14 +00:00
|
|
|
|
using System.Collections.Generic;
|
2025-06-18 10:29:25 +00:00
|
|
|
|
using Volo.Abp.Domain.Entities.Auditing;
|
2025-10-06 13:59:12 +00:00
|
|
|
|
using Volo.Abp.MultiTenancy;
|
2025-06-18 10:29:25 +00:00
|
|
|
|
|
2025-11-11 19:49:52 +00:00
|
|
|
|
namespace Erp.Platform.Entities;
|
2025-06-18 10:29:25 +00:00
|
|
|
|
|
2025-10-06 13:59:12 +00:00
|
|
|
|
public class Uom : FullAuditedEntity<Guid>, IMultiTenant
|
2025-06-18 10:29:25 +00:00
|
|
|
|
{
|
2025-10-06 13:59:12 +00:00
|
|
|
|
public Guid? TenantId { get; set; }
|
|
|
|
|
|
public Guid UomCategoryId { get; set; }
|
2025-11-06 20:29:14 +00:00
|
|
|
|
public UomCategory UomCategory { get; set; }
|
2025-10-06 13:59:12 +00:00
|
|
|
|
|
2025-06-18 10:29:25 +00:00
|
|
|
|
public string Name { get; set; }
|
2025-10-06 13:59:12 +00:00
|
|
|
|
public string Type { get; set; }
|
2025-06-18 10:29:25 +00:00
|
|
|
|
public decimal Ratio { get; set; }
|
|
|
|
|
|
public bool IsActive { get; set; }
|
|
|
|
|
|
public decimal Rounding { get; set; }
|
2025-10-06 13:59:12 +00:00
|
|
|
|
|
|
|
|
|
|
Guid? IMultiTenant.TenantId => TenantId;
|
2025-06-18 10:29:25 +00:00
|
|
|
|
|
2025-11-06 20:29:14 +00:00
|
|
|
|
public ICollection<Material> Materials { get; set; }
|
|
|
|
|
|
public ICollection<MaterialSpecification> MaterialSpecifications { get; set; }
|
2025-06-18 10:29:25 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
2025-11-11 19:49:52 +00:00
|
|
|
|
|