erp-platform/api/src/Erp.Platform.Domain/Entities/Tenant/Maintenance/PlanWizard.cs
2025-12-02 16:24:46 +03:00

30 lines
1,007 B
C#

using System;
using System.Collections.Generic;
using Volo.Abp.Domain.Entities.Auditing;
using Volo.Abp.MultiTenancy;
namespace Erp.Platform.Entities;
public class PlanWizard : FullAuditedEntity<Guid>, IMultiTenant
{
public Guid? TenantId { get; set; }
public string Code { get; set; }
public Guid? WorkcenterId { get; set; }
public Workcenter Workcenter { get; set; }
public string PlanType { get; set; }
public string Priority { get; set; }
public string Description { get; set; }
public int Frequency { get; set; }
public string FrequencyUnit { get; set; }
public int EstimatedDuration { get; set; }
public string Instructions { get; set; }
public DateTime NextDue { get; set; }
public bool IsActive { get; set; }
public DateTime? LastExecuted { get; set; }
// Collections
public string RequiredSkillsJson { get; set; }
public List<PlanWizardMaterial> Materials { get; set; }
public List<PlanEmployee> Employees { get; set; }
}