@@ -0,0 +1,2293 @@
+/*%0A * Copyright 2015 Ryan Gilera.%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *      http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0Apackage com.github.daytron.revworks.model;%0A%0Aimport java.io.File;%0Aimport java.time.LocalDateTime;%0A%0A/**%0A * Coursework model class for coursework table.%0A *%0A * @author Ryan Gilera%0A */%0Apublic class Coursework %7B%0A%0A    private final int id;%0A    private final String title;%0A    private final LocalDateTime dateSubmitted;%0A    private final String fileExtension;%0A    private final int classId;%0A    private final File courseworkFile;%0A    private final String moduleId;%0A    private final String moduleName;%0A    private final LecturerUser lecturer;%0A%0A    public Coursework(int id, String title, LocalDateTime dateSubmitted,%0A            File courseworkFile, String fileExtension, int classId, String moduleId, String moduleName,%0A            LecturerUser lecturer) %7B%0A        this.id = id;%0A        this.title = title;%0A        this.dateSubmitted = dateSubmitted;%0A        this.fileExtension = fileExtension;%0A        this.classId = classId;%0A        this.courseworkFile = courseworkFile;%0A        this.moduleId = moduleId;%0A        this.moduleName = moduleName;%0A        this.lecturer = lecturer;%0A    %7D%0A%0A    public int getId() %7B%0A        return id;%0A    %7D%0A%0A    public String getTitle() %7B%0A        return title;%0A    %7D%0A%0A    public LocalDateTime getDateSubmitted() %7B%0A        return dateSubmitted;%0A    %7D%0A%0A    public String getModuleId() %7B%0A        return moduleId;%0A    %7D%0A%0A    public String getModuleName() %7B%0A        return moduleName;%0A    %7D%0A%0A    public LecturerUser getLecturer() %7B%0A        return lecturer;%0A    %7D%0A%0A    public int getClassId() %7B%0A        return classId;%0A    %7D%0A%0A    public File getCourseworkFile() %7B%0A        return courseworkFile;%0A    %7D%0A%0A    public String getFileExtension() %7B%0A        return fileExtension;%0A    %7D%0A%0A%7D%0A

Add class model for Courseworks