📄 class.cs
字号:
using System;
using System.Collections.Generic;
using System.Text;
namespace Y2T03.CourseScheduler.CourseModel
{
/// <summary>
/// 实体类 Classe
/// </summary>
[Serializable]
public class Class
{
public Class()
{ }
#region 实体类 Classe
private string _classcode = string.Empty;
private Section _section = new Section();
private ClassType _classType = new ClassType();
private Product _product = new Product();
private int _classstatus = 0;
/// <summary>
/// 班级编码
/// </summary>
public string ClassCode
{
set { this._classcode = value; }
get { return this._classcode; }
}
/// <summary>
/// 学习阶段表实体对象 (SectionCode)
/// </summary>
public Section Section
{
set { this._section = value; }
get { return this._section; }
}
/// <summary>
/// 班级类型表实体对象 (TypeCode)
/// </summary>
public ClassType ClassType
{
set { this._classType = value; }
get { return this._classType; }
}
/// <summary>
/// 教学产品类型表实体对象 (ProductId)
/// </summary>
public Product Product
{
set { this._product = value; }
get { return this._product; }
}
/// <summary>
/// 班级状态:0 = 正常, 1 = 升学, 2 = 合并, 3 = 结业
/// </summary>
public int ClassStatus
{
set { this._classstatus = value; }
get { return this._classstatus; }
}
public override string ToString()
{
return this._classcode;
}
#endregion
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -