30 lines
636 B
C#
30 lines
636 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 Id { get; set; }
|
|||
|
|
|||
|
public long StatementId { get; set; }
|
|||
|
|
|||
|
public long StudentId { get; set; }
|
|||
|
|
|||
|
public int Mark { get; set; }
|
|||
|
|
|||
|
public static Marks CreateElement(long id, long statementId, long studentId)
|
|||
|
{
|
|||
|
return new Marks
|
|||
|
{
|
|||
|
Id = id,
|
|||
|
StatementId = statementId,
|
|||
|
StudentId = studentId
|
|||
|
};
|
|||
|
}
|
|||
|
}
|
|||
|
}
|