using System;
using System.Collections.Generic;
using System.Text;
using Edu.Model.Entity.Duty;

namespace Edu.Model.ViewModel.Duty
{
    /// <summary>
    /// 值班设置实体扩展类
    /// </summary>
    public class RB_Duty_Config_ViewModel : RB_Duty_Config
    {
        /// <summary>
        /// 学校名称
        /// </summary>
        public string SchoolName { get; set; }

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

        /// <summary>
        /// 班次
        /// </summary>
        public string ShiftsName { get; set; }

        /// <summary>
        /// 值班人员名称
        /// </summary>
        public string EmployeeName { get; set; }

        /// <summary>
        /// 抄送人员
        /// </summary>
        public string SendName { get; set; }

        /// <summary>
        /// 管理员列表
        /// </summary>
        public List<int> EmployeeIdList
        {
            get
            {
                return Common.ConvertHelper.StringToList(this.EmployeeIds);
            }
        }

        /// <summary>
        /// 抄送人员列表
        /// </summary>
        public List<int> SendEmployeeIdList
        {
            get { return Common.ConvertHelper.StringToList(this.SendEmployeeIds); }
        }
    }
}
