Pibd-22_Lyakhov_T.I._Simple/StudentProgressRecord/Entity/Faculty.cs

26 lines
510 B
C#
Raw Normal View History

2024-10-28 19:18:57 +04:00
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 CreateFaculty(long id, string facultyName)
{
return new Faculty()
{
Id = id,
FacultyName = facultyName
};
}
}
}