You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
482 B
C#
27 lines
482 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Study.DelegateSeries.Core
|
|
{
|
|
/// <summary>
|
|
/// 老师类
|
|
/// </summary>
|
|
public class Teacher
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
public string Name { get; set; }
|
|
|
|
public static string ShowTypeName()
|
|
{
|
|
return typeof(Teacher).FullName;
|
|
}
|
|
|
|
public string ShowTeacherName()
|
|
{
|
|
return this.Name;
|
|
}
|
|
}
|
|
}
|