28 lines
603 B
C#
28 lines
603 B
C#
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; }
|
|
|
|
public static Marks CreateElement(long statementId, long studentId, int mark)
|
|
{
|
|
return new Marks
|
|
{
|
|
StatementId = statementId,
|
|
StudentId = studentId,
|
|
Mark = mark
|
|
};
|
|
}
|
|
}
|
|
}
|