26 lines
509 B
C#
26 lines
509 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace StudentProgressRecord.Entity
|
|
{
|
|
public class Faculty
|
|
{
|
|
public long Id { get; set; }
|
|
|
|
public string FacultyName { get; set; }
|
|
|
|
public static Faculty CreateEntity(long id, string facultyName)
|
|
{
|
|
return new Faculty()
|
|
{
|
|
Id = id,
|
|
FacultyName = facultyName
|
|
};
|
|
|
|
}
|
|
}
|
|
}
|