35 lines
853 B
C#
35 lines
853 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.ComponentModel.DataAnnotations.Schema;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace StudentProgressRecord.Entity
|
|||
|
{
|
|||
|
public class Statement
|
|||
|
{
|
|||
|
|
|||
|
public long SubjectId { get; set; }
|
|||
|
|
|||
|
public long TeacherId { get; set; }
|
|||
|
|
|||
|
public long StudentId { get; set; }
|
|||
|
|
|||
|
public DateTime date { get; set; }
|
|||
|
|
|||
|
public int Mark { get; set; }
|
|||
|
|
|||
|
public static Statement CreateStatement(long subjectId, long teacherId, long studentId, DateTime timeStamp, int mark)
|
|||
|
{
|
|||
|
return new Statement
|
|||
|
{
|
|||
|
SubjectId = subjectId,
|
|||
|
TeacherId = teacherId,
|
|||
|
StudentId = studentId,
|
|||
|
date = timeStamp,
|
|||
|
Mark = mark };
|
|||
|
}
|
|||
|
}
|
|||
|
}
|