using Edu.Model.Entity.Log;

namespace Edu.Model.ViewModel.Log
{
    /// <summary>
    /// 用户信息修改记录视图实体类
    /// </summary>
    public class RB_User_ChangeLog_ViewModel : RB_User_ChangeLog
    {
        /// <summary>
        /// 具体时间
        /// </summary>
        public string TimeStr { get { return Common.ConvertHelper.FormatTimeStr(this.CreateTime); } }

        /// <summary>
        /// 年月
        /// </summary>
        public string DayStr { get { return Common.ConvertHelper.FormatMonthDay(this.CreateTime); } }

        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateByName { get; set; }

        /// <summary>
        /// 星期几
        /// </summary>
        public string WeekDay { get { return Common.ConvertHelper.GetWeekDay(this.CreateTime); } }
    }
}
