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

28 lines
603 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StudentProgressRecord.Entity
{
public class Marks
{
public long StatementId { get; set; }
public long StudentId { get; set; }
public int Mark { get; set; }
2024-11-08 19:32:02 +04:00
public static Marks CreateElement(long statementId, long studentId, int mark)
{
return new Marks
{
StatementId = statementId,
2024-11-08 19:32:02 +04:00
StudentId = studentId,
Mark = mark
};
}
}
}