using System;
using System.Collections.Generic;
using System.Text;
using VT.FW.DB;

namespace Edu.Model.ViewModel.OKR
{
    /// <summary>
    /// 对齐量
    /// </summary>

    [Serializable]
    [DB(ConnectionName = "DefaultConnection")]
    public class OKRPersonalDimension
    {
        /// <summary>
        /// 员工id
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 员工名称
        /// </summary>
        public int AccountId { get; set; }

        /// <summary>
        /// 员工名称
        /// </summary>
        public string EmployeeName { get; set; }

        /// <summary>
        /// 员工头像
        /// </summary>
        public string UserIcon { get; set; }

        /// <summary>
        /// 员工部门
        /// </summary>
        public int Dept_Id { get; set; }

        public string QDeptIds { get; set; }


        /// <summary>
        /// 员工部门
        /// </summary>
        public string DeptName { get; set; }

        /// <summary>
        /// 岗位
        /// </summary>
        public string PostName { get; set; }
        /// <summary>
        /// 员工负责人
        /// </summary>
        public string DeptPersonName { get; set; }

        /// <summary>
        /// 填写量
        /// </summary>
        public int ObjectiveNCount { get; set; }
        /// <summary>
        /// 对齐量
        /// </summary>
        public int OBjectiveRelation { get; set; }

        /// <summary>
        /// 打分量
        /// </summary>
        public decimal ScoreCount { get; set; }

        /// <summary>
        /// 距离上次更新进度时间
        /// </summary>
        public int DayNum { get; set; }

        /// <summary>
        /// 类型 1-我的上级，2-我的下级，3-我的同级，4-我的关注
        /// </summary>
        public int Type { get; set; }


        public int ChildrenNum { get; set; }

        public int PeriodId { get; set; }
        public int School_Id { get; set; }


        public int Group_Id { get; set; }

        public string Dept_Ids { get; set; }
        public List<OKRPersonalDimension> OKRPersonalDimensionList { get; set; }

        /// <summary>
        /// 填写率
        /// </summary>
        public decimal ObjectiveRate { get; set; }
        /// <summary>
        /// 对齐率
        /// </summary>
        public decimal ObjectiveRelationRate { get; set; }
        /// <summary>
        /// 打分率
        /// </summary>
        public decimal ScoreRate { get; set; }
        /// <summary>
        /// 距离上次更新进度时间率
        /// </summary>
        public decimal DayNumRate { get; set; }

        public int Post_Id { get; set; }


        public int LeaveStatus { get; set; }

    }
}
