26 lines
479 B
C#
26 lines
479 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 Name { get; set; }
|
|
|
|
public static Teacher CreateEntity(long id, string name)
|
|
{
|
|
return new Teacher
|
|
{
|
|
Id = id,
|
|
Name = name
|
|
};
|
|
}
|
|
|
|
}
|
|
}
|