📄 classroom.cs
字号:
using System;
using System.Collections.Generic;
using System.Text;
namespace Y2T03.CourseScheduler.CourseModel
{
/// <summary>
/// 实体类 ClassRoom
/// </summary>
[Serializable]
public class ClassRoom
{
public ClassRoom()
{ }
#region 实体类 ClassRoom
private int _roomid = 0;
private RoomType _roomType = new RoomType();
private Product _product = new Product();
private string _title = string.Empty;
/// <summary>
/// 教学设施编码
/// </summary>
public int RoomId
{
set { this._roomid = value; }
get { return this._roomid; }
}
/// <summary>
/// 教学设施类型表实体对象 (TypeId)
/// </summary>
public RoomType RoomType
{
set { this._roomType = value; }
get { return this._roomType; }
}
/// <summary>
/// 教学产品类型表实体对象 (ProductId)
/// </summary>
public Product Product
{
set { this._product = value; }
get { return this._product; }
}
/// <summary>
/// 教学设施描述
/// </summary>
public string Title
{
set { this._title = value; }
get { return this._title; }
}
public override string ToString()
{
return this._title;
}
#endregion
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -