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

namespace Edu.Model.ViewModel.Duty
{
    /// <summary>
    /// 值班计划视图实体类
    /// </summary>
    public class RB_Duty_Plan_ViewModel : RB_Duty_Plan
    {
        /// <summary>
        /// 值班详情
        /// </summary>
        public List<RB_Duty_PlanDetails_ViewModel> PlanDetails { get; set; }

        /// <summary>
        /// 值班工作清单列表
        /// </summary>
        public List<RB_Duty_PlanWork_ViewModel> WorkContentList { get; set; }


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

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

        /// <summary>
        /// 校区名称
        /// </summary>
        public string SchoolName { get; set; }

        /// <summary>
        /// 值班人员
        /// </summary>
        public string QDutyMan { get; set; }

        /// <summary>
        /// 班次
        /// </summary>
        public int QShift { get; set; }

        /// <summary>
        /// 校区查询
        /// </summary>
        public List<int> SchoolIdList { get; set; }

        /// <summary>
        /// 开始日期
        /// </summary>
        public string QStartDate { get; set; }

        /// <summary>
        /// 结束日期
        /// </summary>
        public string QEndDate { get; set; }

        /// <summary>
        /// 是否完成
        /// </summary>
        public int IsFinish { get; set; }

        /// <summary>
        /// 详情编号
        /// </summary>
        public int DetailId { get; set; }

        /// <summary>
        /// 突发事件总数
        /// </summary>
        public int TotalBurstCount { get; set; }

        /// <summary>
        /// 交接工作总数
        /// </summary>
        public int TotalHandoverCount { get; set; }

        /// <summary>
        /// 值班状态(0-未开始,1-值班中,2-已完成,3-未值班)
        /// </summary>
        public int QDutyStatus { get; set; }

        /// <summary>
        /// 出勤状态(1-迟到,2-早退,3-缺勤,4-正常)
        /// </summary>
        public int QAttendanceStatus { get; set; }
    }
}
