Added Faculty management

This commit is contained in:
2023-09-25 21:29:16 +03:00
parent b703d8f658
commit 6e36fe56fa
8 changed files with 101 additions and 14 deletions

View File

@@ -2,9 +2,10 @@ package org.lumijiez.base;
import org.lumijiez.enums.StudyField;
import java.io.Serializable;
import java.util.List;
public class Faculty {
public class Faculty implements Serializable {
public Faculty(String name, String abbreviation, StudyField field) {
this.name = name;

View File

@@ -30,6 +30,7 @@ public class Student implements Serializable {
private FullStudentData FSD;
private final List<Grade> grades = new ArrayList<>();
// Student stores a reference to its own Group and Faculty, bidirectional association
public Faculty getFaculty() {