using System; using Volo.Abp.Domain.Entities.Auditing; using Volo.Abp.MultiTenancy; namespace Erp.Platform.Entities; public class Fault : FullAuditedEntity, IMultiTenant { public Guid? TenantId { get; set; } public string Code { get; set; } public string Title { get; set; } public string Description { get; set; } public Guid? WorkcenterId { get; set; } public Workcenter? WorkCenter { get; set; } public string Location { get; set; } public Guid? FaultTypeId { get; set; } public FaultType? FaultType { get; set; } public string Priority { get; set; } public string Severity { get; set; } public int? EstimatedRepairTime { get; set; } public bool FollowUpRequired { get; set; } public string Status { get; set; } public bool IsActive { get; set; } public string AssignedTo { get; set; } public int? ActualRepairTime { get; set; } public Guid WorkOrderId { get; set; } public string ResolutionNotes { get; set; } public string ClosedBy { get; set; } public DateTime? ClosedAt { get; set; } }