using Abp.Domain.Entities.Auditing;
using Abp.Domain.Entities;
using System;
using System.ComponentModel.DataAnnotations;

namespace YGNT.QuestionLibrary.Core.Courses
{

    /// <summary>
    /// 課程
    /// </summary>
    public class Course : Entity, ICreationAudited
    {
        /// <summary>
        /// 課程名称
        /// </summary>
        [Required]
        public string Name { get; set; }
        public DateTime CreationTime { get; set; }

        public long? CreatorUserId { get; set; }

        /// <summary>
        /// 远程ID
        /// </summary>
        public long SourceId { get; set; }
    }
}
