using Quadarax.Foundation.Core.Business.Processor.Enums;

namespace Quadarax.Foundation.Core.Business.Processor.Task
{
    internal class TaskStatusLogItem : ITaskStatusLogItem
    {
        #region *** Public Properties ***
        public ProcessStatusEnum Status { get; }
        public string Reason { get; internal set; }
        public DateTime Created { get; }
        #endregion

        #region *** Constructors ***
        public TaskStatusLogItem(ProcessStatusEnum status, string reason)
        {
            Status = status;
            Reason = reason;
            Created = DateTime.Now;
        }
        #endregion
    }
}
