using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SumaTube.Domain.Entities.Videos
{
    public enum VideoStatusEnum 
    {
        Requested,
        Processed, 
        Error 
    }
    public class VideoResult
    {
        public string VideoUrl { get; private set; }
        public string Summary { get; private set; }
        public string ErrorMessage { get; private set; }
        public VideoStatusEnum VideoStatus { get; private set; }
        public DateTime LastStatusDate { get; private set; }

        public void ChangeStatus(VideoStatusEnum status)
        {
            LastStatusDate = DateTime.Now;
            VideoStatus = status;
        }
    }
}
