using Edu.Common;
using System;

namespace Edu.Model.ViewModel.User
{
    /// <summary>
    /// 学校校区视图实体类
    /// </summary>
    [Serializable]
    public class RB_School_ViewModel : Model.Entity.User.RB_School
    {
        /// <summary>
        /// 集团名称
        /// </summary>
        public string GroupName { get; set; }

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

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

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

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

        /// <summary>
        /// 部门名称
        /// </summary>
        public string DeptName { get; set; }

        /// <summary>
        /// 管理者姓名
        /// </summary>
        public string ManagerName { get; set; }
    }
}
