using Edu.Common; using Edu.Model.Entity.Question; namespace Edu.Model.ViewModel.Question { /// /// 题库视图实体类 /// public class RB_Question_Bank_ViewModel : RB_Question_Bank { /// /// 创建人 /// public string CreateByName { get; set; } /// /// 修改人 /// public string UpdateByName { get; set; } /// /// 创建时间字符串 /// public string CreateTimeStr { get { return this.CreateTime.FormatTime(); } } /// /// 更新时间字符串 /// public string UpdateTimeStr { get { return this.UpdateTime.FormatTime(); } } /// /// 题量 /// public int QuestionCount { get; set; } } }