29 lines
604 B
C#
29 lines
604 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
|
|
};
|
|
}
|
|
|
|
}
|
|
}
|