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

namespace Edu.Model.Entity.Course
{
    /// <summary>
    /// 课程实体类
    /// </summary>
    [Serializable]
    [DB(ConnectionName = "DefaultConnection")]
    public class RB_Course
    {
        /// <summary>
        /// 主键(课程编号)
        /// </summary>
        public int CourseId { get; set; }

        /// <summary>
        /// 课程封面图
        /// </summary>
        public string CoverImg { get; set; }

        /// <summary>
        /// 课程名称
        /// </summary>
        public string CourseName { get; set; }

        /// <summary>
        /// 课程介绍
        /// </summary>
        public string CourseIntro { get; set; }

        /// <summary>
        /// 课程分类编号
        /// </summary>
        public int CateId { 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>
        /// 学校Id
        /// </summary>
        public int School_Id { get; set; }

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

        /// <summary>
        /// 删除状态
        /// </summary>
        public DateStateEnum Status { get; set; }

        /// <summary>
        /// 教师编号[逗号分隔]
        /// </summary>
        public string Teacher_Ids { get; set; }

        /// <summary>
        /// 是否显示章节编号
        /// </summary>
        public int IsShowChapterNo { get; set; }

        /// <summary>
        /// 课程特色
        /// </summary>
        public string CourseFeature { get; set; }

        /// <summary>
        /// 原价
        /// </summary>
        public decimal OriginalPrice { get; set; }

        /// <summary>
        /// 售价
        /// </summary>
        public decimal SellPrice { get; set; }

        /// <summary>
        /// 是否开启阶梯定价(1-开启)
        /// </summary>
        public int IsOpenStepPrice { get; set; }

        /// <summary>
        /// 是否可续费课程(1-是)
        /// </summary>
        public int IsRenew { get; set; }

        /// <summary>
        /// 续费原价
        /// </summary>
        public decimal RenewOgPrice { get; set; }

        /// <summary>
        /// 续费售价
        /// </summary>
        public decimal RenewSlPrice { get; set; }

        /// <summary>
        /// 上架端口(1-内部销售，2-学员App，3-网课端）
        /// </summary>
        public string Saleplat { get; set; }

        /// <summary>
        /// 是否是K12课程(1-是)
        /// </summary>
        public int IsKCourse { get; set; }

        /// <summary>
        /// 课时
        /// </summary>
        public decimal ClassHours { get; set; }


    }
}