namespace Brizco.Domain.Entities.Tasks;

public partial class Activity : Task
{

    public Activity()
    {
    }

    public Activity(
        ActivityStatus status,
        DateTime doneAt,
        string performanceDescription,
        TaskType type,
        bool isDisposable,
        DateTime setFor,
        bool hasDisposed,
        int amount,
        PurchaseAmountType amountType,
        string title,
        string description,
        Guid complexId,
        TaskScheduleType scheduleType) : base(type, isDisposable, setFor, hasDisposed, amount, amountType, title, description, complexId, scheduleType)
    {
        Status = status;
        DoneAt = doneAt;
        PerformanceDescription = performanceDescription;
        IsActivity = true;
    }

    public ActivityStatus Status { get; internal set; }
    public DateTime DoneAt { get; internal set; }
    public bool IsDone { get; internal set; }
    public string UnDoneReason { get; internal set; } = string.Empty;
    public string PerformanceDescription { get; internal set; } = string.Empty;
    public Guid UserId { get; internal set; }
    public ApplicationUser? User { get; internal set; }

    public Guid ShiftPlanId { get; internal set; }
    public ShiftPlan? ShiftPlan { get; internal set; }
}