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 Subject
|
|
|
|
|
{
|
|
|
|
|
public long Id { get; set; }
|
|
|
|
|
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
2024-10-28 21:38:22 +04:00
|
|
|
|
public static Subject CreateEntity(long id, string name)
|
2024-10-28 19:18:57 +04:00
|
|
|
|
{
|
|
|
|
|
return new Subject
|
|
|
|
|
{
|
|
|
|
|
Id = id,
|
|
|
|
|
Name = name
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|