using System;
using System.Collections.Generic;

namespace Edu.Model.ViewModel.OKR
{
    /// <summary>
    /// okr目标扩展类
    /// </summary>
    [Serializable]
    public class RB_OKR_Objective_ViewModel : Model.Entity.OKR.RB_OKR_Objective
    {
        /// <summary>
        /// 上对齐ids
        /// </summary>
        public string ParentIds { get; set; }

        /// <summary>
        /// 目标ids
        /// </summary>
        public string ObjectiveIds { get; set; }

        /// <summary>
        /// 目标id
        /// </summary>
        public int ObjectiveId { get; set; }

        /// <summary>
        /// 目标数量
        /// </summary>
        public int ObjectiveNum { get; set; }
        /// <summary>
        /// 目标数量
        /// </summary>
        public int ObjectiveNum1 { get; set; }
        /// <summary>
        /// 目标数量
        /// </summary>
        public int ObjectiveNum2 { get; set; }
        /// <summary>
        /// 目标数量
        /// </summary>
        public int ObjectiveNum3 { get; set; }
        /// <summary>
        /// 目标数量
        /// </summary>
        public int ObjectiveNum4 { get; set; }
        /// <summary>
        /// 目标数量
        /// </summary>
        public int ObjectiveNum5 { get; set; }

        /// <summary>
        /// 目标创建人
        /// </summary>
        public string CreateByIds { get; set; }

        /// <summary>
        /// 父级id
        /// </summary>
        public int ParentId { get; set; }

        /// <summary>
        /// 期数s
        /// </summary>
        public string PeriodIds { get; set; }

        /// <summary>
        /// 对齐列表
        /// </summary>
        public List<ObjectiveEmployeeModel> ParentList { get; set; }

        /// <summary>
        /// 对齐列表
        /// </summary>
        public List<ObjectiveEmployeeModel> ChildList { get; set; }

        /// <summary>
        /// 对齐列表
        /// </summary>
        public List<RB_OKR_Objective_ViewModel> ParentSingleList { get; set; }

        /// <summary>
        /// 上对齐数量
        /// </summary>
        public int ParentNum { get; set; }
        /// <summary>
        /// 对齐列表
        /// </summary>
        public List<RB_OKR_Objective_ViewModel> ChildSingleList { get; set; }

        /// <summary>
        /// 下对齐数量
        /// </summary>
        public int ChildNum { get; set; }

        /// <summary>
        /// 关键结果列表
        /// </summary>
        public List<RB_OKR_KeyResult_ViewModel> KeyResultList { get; set; }

        /// <summary>
        /// 是否有设置权限  1是  2否
        /// </summary>
        public int IsLock { get; set; }

        /// <summary>
        /// 是否不可查看   1是  2否
        /// </summary>
        public int IsNotLook { get; set; }

        /// <summary>
        /// 是否已对齐
        /// </summary>
        public int IsParent { get; set; }

        /// <summary>
        /// 员工姓名
        /// </summary>
        public string EmName { get; set; }
        /// <summary>
        /// 员工头像
        /// </summary>
        public string EmPhoto { get; set; }

        /// <summary>
        /// 部门id
        /// </summary>
        public int RB_Department_Id { get; set; }

        /// <summary>
        /// 部门名称
        /// </summary>
        public string DeptName { get; set; }

        /// <summary>
        /// 岗位
        /// </summary>
        public string PostName { get; set; }

        /// <summary>
        /// 分数名称
        /// </summary>
        public string ScoreName { get; set; }
        /// <summary>
        /// 分数颜色
        /// </summary>
        public string ScoreColor { get; set; }


        /// <summary>
        /// 查询状态 1-查询状态本身等于2和3的  add by:W   2021-03-01
        /// </summary>
        public int selectStatus{get;set;}
    }

    /// <summary>
    /// 员工目标
    /// </summary>
    public class ObjectiveEmployeeModel { 
        /// <summary>
        /// 账户id
        /// </summary>
        public int AccountId { get; set; }
        /// <summary>
        /// 账户名称
        /// </summary>
        public string AccountName { get; set; }

        /// <summary>
        /// 头像
        /// </summary>
        public string Icon { get; set; }

        /// <summary>
        /// 对齐列表
        /// </summary>
        public List<RB_OKR_Objective_ViewModel> AlignList { get; set; }
    }
}