study-lib-backend/API/Models/Test.cs
2020-12-12 14:47:20 +01:00

25 lines
436 B
C#

using System;
using System.ComponentModel.DataAnnotations;
namespace StudyLib.Models
{
public class Test
{
public long ID { get; set; }
[Required]
public DateTime Date { get; set; }
[Required]
public string Scope { get; set; }
public double FinalMarkPercent { get; set; }
public long SubjectId { get; set; }
public Subject Subject { get; set; }
}
}