29 lines
588 B
C#
29 lines
588 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace StudentProgressRecord.Entity
|
|||
|
{
|
|||
|
public class Teacher
|
|||
|
{
|
|||
|
public long Id { get; set; }
|
|||
|
|
|||
|
public string Fio { get; set; }
|
|||
|
|
|||
|
public long DepartmentID { get; set; }
|
|||
|
|
|||
|
public static Teacher CreateTeacher(long id, string Fio, long DepartmentID)
|
|||
|
{
|
|||
|
return new Teacher
|
|||
|
{
|
|||
|
Id = id,
|
|||
|
Fio = Fio,
|
|||
|
DepartmentID = DepartmentID
|
|||
|
};
|
|||
|
}
|
|||
|
|
|||
|
}
|
|||
|
}
|