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_Comment
    {
        /// <summary>
        /// id
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 周期id
        /// </summary>
        public int PeriodId { get; set; }

        /// <summary>
        /// 属于谁的
        /// </summary>
        public int AccountId { get; set; }

        /// <summary>
        /// 内容
        /// </summary>
        public string Content { get; set; }

        /// <summary>
        /// 状态  1正常   2标记为解决并影藏   3删除
        /// </summary>
        public int State { get; set; }

        /// <summary>
        /// 集团id
        /// </summary>
        public int Group_Id { get; set; }

        /// <summary>
        /// 学校id
        /// </summary>
        public int School_Id { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public int CreateBy { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        public int UpdateBy { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime UpdateTime { get; set; }

        /// <summary>
        /// 类型   1目标   2结果   3进度   4周期
        /// </summary>
        public int Type { get; set; }

        /// <summary>
        /// 目标/结果 id
        /// </summary>
        public int TargetId { get; set; }

        /// <summary>
        /// 上级评论id
        /// </summary>
        public int ParentId { get; set; }

        /// <summary>
        /// 标识
        /// </summary>
        public string Identify { get; set; }
    }
}
