2024-12-07 14:57:57 +04:00

36 lines
767 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
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; }
public string StudentName { get; set; } = string.Empty;
public static Marks CreateElement(long statementId, long studentId, int mark, string studentName="")
{
return new Marks
{
StatementId = statementId,
StudentId = studentId,
Mark = mark,
StudentName = studentName
};
}
}
}