29 lines
628 B
C#
29 lines
628 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace StudentProgressRecord.Entity
|
|
{
|
|
public class Department
|
|
{
|
|
|
|
public long Id { get; set; }
|
|
|
|
public string DepartmentName { get; set; }
|
|
|
|
public long FacultyId { get; set; }
|
|
|
|
public static Department CreateEntity(long id, string DepartmentName, long facultyId)
|
|
{
|
|
return new Department
|
|
{
|
|
Id = id,
|
|
DepartmentName = DepartmentName,
|
|
FacultyId = facultyId
|
|
};
|
|
}
|
|
}
|
|
}
|