diff --git a/build/classes/java/main/com/example/teamsync/model/Project.class b/build/classes/java/main/com/example/teamsync/model/Project.class index 7521402..7418516 100644 Binary files a/build/classes/java/main/com/example/teamsync/model/Project.class and b/build/classes/java/main/com/example/teamsync/model/Project.class differ diff --git a/build/resources/main/static/projects.html b/build/resources/main/static/projects.html index a4ecd5c..75cbd4e 100644 --- a/build/resources/main/static/projects.html +++ b/build/resources/main/static/projects.html @@ -259,7 +259,7 @@

Project List

}) .catch(error => console.error('Error fetching projects:', error)); } - + fetchProjects(); function toggleAddProjectForm() { diff --git a/build/tmp/compileJava/compileTransaction/stash-dir/EmployeeController.class.uniqueId1 b/build/tmp/compileJava/compileTransaction/stash-dir/EmployeeController.class.uniqueId1 new file mode 100644 index 0000000..de9ab2b Binary files /dev/null and b/build/tmp/compileJava/compileTransaction/stash-dir/EmployeeController.class.uniqueId1 differ diff --git a/build/tmp/compileJava/compileTransaction/stash-dir/EmployeeDto.class.uniqueId4 b/build/tmp/compileJava/compileTransaction/stash-dir/EmployeeDto.class.uniqueId4 new file mode 100644 index 0000000..89fe708 Binary files /dev/null and b/build/tmp/compileJava/compileTransaction/stash-dir/EmployeeDto.class.uniqueId4 differ diff --git a/build/tmp/compileJava/compileTransaction/stash-dir/EmployeeResource.class.uniqueId5 b/build/tmp/compileJava/compileTransaction/stash-dir/EmployeeResource.class.uniqueId5 new file mode 100644 index 0000000..2d26063 Binary files /dev/null and b/build/tmp/compileJava/compileTransaction/stash-dir/EmployeeResource.class.uniqueId5 differ diff --git a/build/tmp/compileJava/compileTransaction/stash-dir/EmployeeResourceAssembler.class.uniqueId8 b/build/tmp/compileJava/compileTransaction/stash-dir/EmployeeResourceAssembler.class.uniqueId8 new file mode 100644 index 0000000..fd0db75 Binary files /dev/null and b/build/tmp/compileJava/compileTransaction/stash-dir/EmployeeResourceAssembler.class.uniqueId8 differ diff --git a/build/tmp/compileJava/compileTransaction/stash-dir/ProjectController.class.uniqueId1 b/build/tmp/compileJava/compileTransaction/stash-dir/ProjectController.class.uniqueId7 similarity index 100% rename from build/tmp/compileJava/compileTransaction/stash-dir/ProjectController.class.uniqueId1 rename to build/tmp/compileJava/compileTransaction/stash-dir/ProjectController.class.uniqueId7 diff --git a/build/tmp/compileJava/compileTransaction/stash-dir/ProjectDto.class.uniqueId0 b/build/tmp/compileJava/compileTransaction/stash-dir/ProjectDto.class.uniqueId0 new file mode 100644 index 0000000..3d7333d Binary files /dev/null and b/build/tmp/compileJava/compileTransaction/stash-dir/ProjectDto.class.uniqueId0 differ diff --git a/build/tmp/compileJava/compileTransaction/stash-dir/ProjectResource.class.uniqueId6 b/build/tmp/compileJava/compileTransaction/stash-dir/ProjectResource.class.uniqueId6 new file mode 100644 index 0000000..8341ccb Binary files /dev/null and b/build/tmp/compileJava/compileTransaction/stash-dir/ProjectResource.class.uniqueId6 differ diff --git a/build/tmp/compileJava/compileTransaction/stash-dir/ProjectResourceAssembler.class.uniqueId0 b/build/tmp/compileJava/compileTransaction/stash-dir/ProjectResourceAssembler.class.uniqueId2 similarity index 54% rename from build/tmp/compileJava/compileTransaction/stash-dir/ProjectResourceAssembler.class.uniqueId0 rename to build/tmp/compileJava/compileTransaction/stash-dir/ProjectResourceAssembler.class.uniqueId2 index 58eba17..cad9305 100644 Binary files a/build/tmp/compileJava/compileTransaction/stash-dir/ProjectResourceAssembler.class.uniqueId0 and b/build/tmp/compileJava/compileTransaction/stash-dir/ProjectResourceAssembler.class.uniqueId2 differ diff --git a/build/tmp/compileJava/compileTransaction/stash-dir/ProjectService.class.uniqueId3 b/build/tmp/compileJava/compileTransaction/stash-dir/ProjectService.class.uniqueId3 new file mode 100644 index 0000000..e9e6bb8 Binary files /dev/null and b/build/tmp/compileJava/compileTransaction/stash-dir/ProjectService.class.uniqueId3 differ diff --git a/build/tmp/compileJava/previous-compilation-data.bin b/build/tmp/compileJava/previous-compilation-data.bin index 24d4a6c..40c7022 100644 Binary files a/build/tmp/compileJava/previous-compilation-data.bin and b/build/tmp/compileJava/previous-compilation-data.bin differ diff --git a/src/main/java/com/example/teamsync/model/Project.java b/src/main/java/com/example/teamsync/model/Project.java index a845d52..acfaaf3 100644 --- a/src/main/java/com/example/teamsync/model/Project.java +++ b/src/main/java/com/example/teamsync/model/Project.java @@ -10,6 +10,7 @@ public class Project { private Long id; private String name; + private String status; private String description; @ManyToOne @@ -33,6 +34,14 @@ public void setName(String name) { this.name = name; } + public String getStatus(){ + return status; + } + + public void setStatus(String status){ + this.status = status; + } + public String getDescription() { return description; } diff --git a/src/main/java/com/example/teamsync/repository/ProjectRepository.java b/src/main/java/com/example/teamsync/repository/ProjectRepository.java index 1af3a05..99825c4 100644 --- a/src/main/java/com/example/teamsync/repository/ProjectRepository.java +++ b/src/main/java/com/example/teamsync/repository/ProjectRepository.java @@ -10,4 +10,4 @@ @Repository public interface ProjectRepository extends JpaRepository { List findByEmployee(Employee employee); -} +} \ No newline at end of file diff --git a/src/main/resources/static/projects.html b/src/main/resources/static/projects.html index a4ecd5c..75cbd4e 100644 --- a/src/main/resources/static/projects.html +++ b/src/main/resources/static/projects.html @@ -259,7 +259,7 @@

Project List

}) .catch(error => console.error('Error fetching projects:', error)); } - + fetchProjects(); function toggleAddProjectForm() {