using System;
using System.Collections.Generic;

namespace Performance.DtoModels
{
    public class AttendanceDeptReport
    {
        /// <summary>
        /// 核算单元编码
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int AllotID { get; set; }
        /// <summary>
        /// 核算组别
        /// </summary>
        public string UnitType { get; set; }
        /// <summary>
        /// 核算单元
        /// </summary>
        public string AccountingUnit { get; set; }
        /// <summary>
        /// 科室名称
        /// </summary>
        public string Department { get; set; }
        /// <summary>
        /// 工号
        /// </summary>
        public string PersonnelNumber { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string PersonnelName { get; set; }
        /// <summary>
        /// 人员系数
        /// </summary>
        public decimal? PermanentStaff { get; set; }
        /// <summary>
        /// 在科开始时间
        /// </summary>
        public DateTime BeginDate { get; set; }
        /// <summary>
        /// 在科结束时间
        /// </summary>
        public DateTime EndDate { get; set; }

        public List<AttendanceDeptReportItem> Detial { get; set; }
        /// <summary>
        /// 出勤天数
        /// </summary>
        public int AttendanceDays { get; set; }

    }

    public class AttendanceDeptReportItem
    {
        /// <summary>
        /// 请假天数
        /// </summary>
        public object Value { get; set; }
        /// <summary>
        /// 考勤类型
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
    }
}
