using Edu.Common;
using Edu.Model.Entity.Question;

namespace Edu.Model.ViewModel.Question
{
    /// <summary>
    /// 题库视图实体类
    /// </summary>
    public class RB_Question_Bank_ViewModel : RB_Question_Bank
    {
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateByName { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        public string UpdateByName { get; set; }

        /// <summary>
        /// 创建时间字符串
        /// </summary>
        public string CreateTimeStr { get { return this.CreateTime.FormatTime(); } }

        /// <summary>
        /// 更新时间字符串
        /// </summary>
        public string UpdateTimeStr { get { return this.UpdateTime.FormatTime(); } }

        /// <summary>
        /// 题量
        /// </summary>
        public int QuestionCount { get; set; }

    }
}
