using System;
using System.Collections.Generic;
using System.Text;

namespace Edu.Model.ViewModel.Course
{
    /// <summary>
    /// 课程资料视图实体类
    /// </summary>
    public class RB_Course_Source_ViewModel : Model.Entity.Course.RB_Course_Source
    {
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateByName { get; set; }

        /// <summary>
        /// 更新人
        /// </summary>
        public string UpdateByName { get; set; }

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

        /// <summary>
        /// 修改时间字符串
        /// </summary>
        public string UpdateTimeStr { get { return Common.ConvertHelper.FormatTime(this.UpdateTime); } }
    }
}