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

namespace Edu.Model.Entity.OKR
{
    /// <summary>
    /// okr周期配置实体类
    /// </summary>
    [Serializable]
    [DB(ConnectionName = "DefaultConnection")]
    public class RB_OKR_PeriodConfig
    {
        /// <summary>
        /// id
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 周期长度  枚举
        /// </summary>
        public PeriodMonthEnum PeriodMonth { get; set; }

        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? StartDate { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? EndDate { get; set; }

        /// <summary>
        /// 提前  几天/几月
        /// </summary>
        public int BeforeNum { get; set; }

        /// <summary>
        /// 类型  1天   2月
        /// </summary>
        public int BeforeType { get; set; }

        /// <summary>
        /// 年度是否开启   1是   2否
        /// </summary>
        public int YearOKR { get; set; }

        /// <summary>
        /// 主管审核   1开启   2不开启
        /// </summary>
        public int DirectorAudit { 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; }
    }
}
