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

namespace Edu.Model.Entity.EduTask
{
    /// <summary>
    /// 上课计划调整实体类
    /// </summary>
    [Serializable]
    [DB(ConnectionName = "DefaultConnection")]
    public class RB_Change_ClassPlan
    {
        /// <summary>
        /// 主键(调课编号)
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 班级编号
        /// </summary>
        public int ClassId { get; set; }

        /// <summary>
        /// 课程编号
        /// </summary>
        public int CourseId { get; set; }

        /// <summary>
        /// 调动类型(1-课程，2-老师，3-教室,4-取消课程)
        /// </summary>
        public int ChangeType { get; set; }

        /// <summary>
        /// 调动选项(1-固定日期，2-全局调整)
        /// </summary>
        public int MoveType { get; set; }

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

        /// <summary>
        /// 学校编号
        /// </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>
        /// 生效日期
        /// </summary>
        public DateTime? TakeEffectTime { get; set; }

        /// <summary>
        /// 原数据
        /// </summary>
        public string SourceData { get; set; }

        /// <summary>
        /// 目标数据
        /// </summary>
        public string TargetData { get; set; }

        /// <summary>
        /// 调课备注
        /// </summary>
        public string Remarks { get; set; }
    }
}
