36 lines
767 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
2024-12-02 20:25:45 +04:00
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StudentProgressRecord.Entity
{
public class Marks
{
2024-12-02 20:25:45 +04:00
public long StatementId { get; set; }
public long StudentId { get; set; }
public int Mark { get; set; }
2024-12-02 20:25:45 +04:00
public string StudentName { get; set; } = string.Empty;
public static Marks CreateElement(long statementId, long studentId, int mark, string studentName="")
{
return new Marks
{
StatementId = statementId,
2024-11-08 19:32:02 +04:00
StudentId = studentId,
2024-12-02 20:25:45 +04:00
Mark = mark,
StudentName = studentName
};
}
2024-11-18 14:55:50 +04:00
}
}