erp-platform/api/src/Erp.Platform.Domain/Entities/Tenant/Maintenance/Fault.cs
2025-11-26 16:58:31 +03:00

32 lines
1.1 KiB
C#

using System;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.MultiTenancy;
namespace Erp.Platform.Entities;
public class Fault : FullAuditedEntity<Guid>, 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; }
}