?? teacher.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 + -