using System;
using System.ComponentModel.DataAnnotations;
using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using YGNT.QuestionLibrary.Core.Tasks.Enum;

namespace YGNT.QuestionLibrary.Core.Tasks
{
    /// <summary>
    /// 试题转换任务
    /// </summary>
    public class QuestionConvertTask : Entity<long>, ICreationAudited
    {
        public QuestionConvertTask()
        {
            CreationTime = DateTime.Now;
        }

        /// <summary>
        /// 试题源id
        /// </summary>
        public long QuestionOriginId { get; set; }
        
        public string Remark { get; set; }
        
        /// <summary>
        /// 任务状态
        /// </summary>
        public TaskState TaskState { get; set; }

        public DateTime CreationTime { get; set; }

        public long? CreatorUserId { get; set; }
    }
}