Added constructors to the entities

This commit is contained in:
Giovani
2019-04-26 22:02:58 -04:00
parent 3539c1dd0e
commit 6da26283f9
4 changed files with 52 additions and 8 deletions

View File

@@ -14,5 +14,14 @@ namespace BrightGlimmer.Domain
public Student Student { get; set; }
public Course Course { get; set; }
private AssignedCourse() { }
public AssignedCourse(decimal grade, bool isActive, string term)
{
Grade = grade;
IsActive = isActive;
Term = term;
}
}
}