CourseWork_KPO/CandidateReviewDatabaseImplement/Models/AssessmentCriterion.cs

18 lines
509 B
C#
Raw Permalink Normal View History

2024-11-04 22:26:40 +04:00
using System.ComponentModel.DataAnnotations;
namespace CandidateReviewDatabaseImplement.Models
{
public class AssessmentCriterion
{
public int Id { get; set; }
[Required]
public int AssessmentId { get; set; }
[Required]
public int CriterionId { get; set; }
[Required]
public int Value { get; set; }
public virtual Assessment Assessment { get; set; } = new();
public virtual Criterion Criterion { get; set; } = new();
}
}