Pibd-22_Lyakhov_T.I._Simple/StudentProgressRecord/Entity/Subject.cs
2024-10-28 19:18:57 +04:00

25 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 Subject
{
public long Id { get; set; }
public string Name { get; set; }
public static Subject CreateSubject(long id, string name)
{
return new Subject
{
Id = id,
Name = name
};
}
}
}