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

📄 teacher.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>
    /// 实体类  Teacher
    /// </summary>
    [Serializable]
    public class Teacher
    {
        public Teacher()
        { }

        #region 实体类  Teacher

        private int _teacherid = 0;
        private string _name = string.Empty;
        private Section _section = new Section();
        private Speciality _speciality = new Speciality();

        /// <summary>
        /// 教员编号
        /// </summary>
        public int TeacherId
        {
            set { this._teacherid = value; }
            get { return this._teacherid; }
        }

        /// <summary>
        /// 教员名称
        /// </summary>
        public string Name
        {
            set { this._name = value; }
            get { return this._name; }
        }

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

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

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

        #endregion

    }
}

⌨️ 快捷键说明

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