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

namespace Edu.Model.Entity.User
{
    /// <summary>
    /// 考勤记录实体类
    /// </summary> 
    [Serializable]
    [DB(ConnectionName = "DefaultConnection")]
    public class RB_Attendance_Record
    {

        /// <summary>
        /// 主键编号
        /// </summary>        
        public int Id
        {
            get;
            set;
        }
        /// <summary>
        /// 员工id
        /// </summary>        
        public int EmployeeId
        {
            get;
            set;
        }
        /// <summary>
        /// 上班打卡地址
        /// </summary>        
        public string BeOnAddress
        {
            get;
            set;
        }
        /// <summary>
        /// 上班打卡地图坐标
        /// </summary>        
        public string BeOnTargetAddress
        {
            get;
            set;
        }
        /// <summary>
        /// 上班打卡时间
        /// </summary>        
        public DateTime? BeOnDutyTime
        {
            get;
            set;
        }
        /// <summary>
        /// 下班打卡时间
        /// </summary>        
        public DateTime? OffDutyTime
        {
            get;
            set;
        }
        /// <summary>
        /// 0 缺卡 1正常 2 迟到  3外勤  4出差  5请假  6 补卡 
        /// </summary>        
        public AttendanceEnum BeOnStatus
        {
            get;
            set;
        }
        /// <summary>
        /// 0 缺卡 1正常 2 迟到  3外勤  4出差  5请假  6 补卡 
        /// </summary>        
        public AttendanceEnum OffStatus
        {
            get;
            set;
        }
        /// <summary>
        /// 上班打卡类型 1 地点  2  wifi
        /// </summary>        
        public int? BeOnType
        {
            get;
            set;
        }
        /// <summary>
        /// 当天日期
        /// </summary>        
        public DateTime Date
        {
            get;
            set;
        }
        /// <summary>
        /// 迟到时间
        /// </summary>        
        public int? BeLateTime
        {
            get;
            set;
        }
        /// <summary>
        /// 手机唯一标识码
        /// </summary>        
        public string PhoneId
        {
            get;
            set;
        }
        /// <summary>
        /// 下班打卡地址
        /// </summary>        
        public string OffAddress
        {
            get;
            set;
        }
        /// <summary>
        /// 下班打卡地图坐标
        /// </summary>        
        public string OffTargetAddress
        {
            get;
            set;
        }
        /// <summary>
        /// 下班打卡类型 1 地点  2  wifi
        /// </summary>        
        public int? OffType
        {
            get;
            set;
        }
        /// <summary>
        /// 上班打卡验证地址名称
        /// </summary>        
        public string BeOnVerifyAddress
        {
            get;
            set;
        }
        /// <summary>
        /// 下班打卡验证地址名称
        /// </summary>        
        public string OffVerifyAddress
        {
            get;
            set;
        }
        /// <summary>
        /// 上班时间
        /// </summary>        
        public string BeOnTime
        {
            get;
            set;
        }
        /// <summary>
        /// 下班时间
        /// </summary>        
        public string OffTime
        {
            get;
            set;
        }
        /// <summary>
        /// 历史记录
        /// </summary>
        public string History { get; set; }
        /// <summary>
        /// 手机名称
        /// </summary>
        public string PhoneName { get; set; }
        /// <summary>
        /// 上班关联审核
        /// </summary>
        public int? BeOnRelevance { get; set; }
        /// <summary>
        /// 上班关联审核类型1请假  2出差  3  外出  4  补卡
        /// </summary>
        public int? BeOnRelevanceType { get; set; }
        /// <summary>
        /// 下班关联审核
        /// </summary>
        public int? OffRelevance { get; set; }
        /// <summary>
        /// 下班关联审核类型1请假  2出差  3  外出  4  补卡
        /// </summary>
        public int? OffRelevanceType { get; set; }
    }
}
