using System;

namespace Edu.Model.ViewModel.Course
{
    /// <summary>
    /// 课程通知视图实体类
    /// </summary>
    [Serializable]
    public class RB_Course_Notice_ViewModel : Model.Entity.Course.RB_Course_Notice
    {
        /// <summary>
        /// 课程编号【逗号分隔】
        /// </summary>
        public string CourseIds { get; set; }

        /// <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); } }
    }
}