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

namespace Edu.Model.Entity.OKR
{
    /// <summary>
    /// okr规则关联实体类
    /// </summary>
    [Serializable]
    [DB(ConnectionName = "DefaultConnection")]
    public class RB_OKR_RuleRelation
    {
        /// <summary>
        /// id
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 关键结果id
        /// </summary>
        public int KeyResultId { get; set; }

        /// <summary>
        /// 类型  1部门   2人员
        /// </summary>
        public int Type { get; set; }

        /// <summary>
        /// 部门/人员id
        /// </summary>
        public int RelationId { get; set; }
    }
}
