⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 course.cs

📁 guan yu pai ke xi tong de ruan jian
💻 CS
字号:
using System;
using System.Collections.Generic;
using System.Text;

namespace Y2T03.CourseScheduler.CourseModel
{
    /// <summary>
    /// 实体类  Course
    /// </summary>
    [Serializable]
    public class Course
    {
        public Course()
        { }

        #region 实体类  Course

        private int _courseId = 0;
        private Product _product = new Product();
        private Speciality _speciality = new Speciality();
        private string _title = string.Empty;
        private string _coursecode = string.Empty;
        private Section _section = new Section();

        /// <summary>
        /// 课程编码
        /// </summary>
        public int CourseId
        {
            set { this._courseId = value; }
            get { return this._courseId; }
        }

        /// <summary>
        /// 教学产品类型表实体对象 (ProductId)
        /// </summary>
        public Product Product
        {
            set { this._product = value; }
            get { return this._product; }
        }

        /// <summary>
        /// 课程专业技术方向表实体对象 (SpecialityId)
        /// </summary>
        public Speciality Speciality
        {
            set { this._speciality = value; }
            get { return this._speciality; }
        }

        /// <summary>
        /// 课程名称
        /// </summary>
        public string Title
        {
            set { this._title = value; }
            get { return this._title; }
        }

        /// <summary>
        /// 课程代号
        /// </summary>
        public string CourseCode
        {
            set { this._coursecode = value; }
            get { return this._coursecode; }
        }

        /// <summary>
        /// 学习阶段表实体对象 (SectionCode)
        /// </summary>
        public Section Section
        {
            set { this._section = value; }
            get { return this._section; }
        }

        public override string ToString()
        {
            return this._title;
        }

        #endregion

    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -