using Edu.Common.Enum;
using Edu.Common.Enum.Duty;
using System;
using VT.FW.DB;

namespace Edu.Model.Entity.Duty
{
    /// <summary>
    /// 值班班次实体类
    /// </summary>
    [Serializable]
    [DB(ConnectionName = "DefaultConnection")]
    public class RB_Duty_PlanDetails
    {
        /// <summary>
        /// 主键(排版详情编号)
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 排班计划编号
        /// </summary>
        public int? PlanId { get; set; }

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

        /// <summary>
        /// 值班人员
        /// </summary>
        public int DutyMan { get; set; }

        /// <summary>
        /// 状态 
        /// </summary>
        public DutyStatusEnum Status { get; set; }

        /// <summary>
        /// 打卡时间
        /// </summary>
        public DateTime CheckTime { get; set; }

        /// <summary>
        /// 交接时间
        /// </summary>
        public DateTime FinishTime { get; set; }

        /// <summary>
        /// 迟到分钟数
        /// </summary>
        public int CheckLateTime { get; set; }

        /// <summary>
        /// 早退分钟数
        /// </summary>
        public int FinishLateTime { get; set; }

        /// <summary>
        /// 班次上班打卡设置时间
        /// </summary>
        public string StartTime { get; set; }

        /// <summary>
        /// 班次下班打卡设置时间
        /// </summary>
        public string EndTime { get; set; }

    }
}
