Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
withinJoel committed Aug 21, 2024
1 parent 8eaf2d4 commit bf48945
Show file tree
Hide file tree
Showing 15 changed files with 12 additions and 3 deletions.
Binary file modified build/classes/java/main/com/example/teamsync/model/Project.class
Binary file not shown.
2 changes: 1 addition & 1 deletion build/resources/main/static/projects.html
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ <h2 class="card-title">Project List</h2>
})
.catch(error => console.error('Error fetching projects:', error));
}

fetchProjects();


function toggleAddProjectForm() {
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified build/tmp/compileJava/previous-compilation-data.bin
Binary file not shown.
9 changes: 9 additions & 0 deletions src/main/java/com/example/teamsync/model/Project.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ public class Project {
private Long id;

private String name;
private String status;
private String description;

@ManyToOne
Expand All @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
@Repository
public interface ProjectRepository extends JpaRepository<Project, Long> {
List<Project> findByEmployee(Employee employee);
}
}
2 changes: 1 addition & 1 deletion src/main/resources/static/projects.html
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ <h2 class="card-title">Project List</h2>
})
.catch(error => console.error('Error fetching projects:', error));
}

fetchProjects();


function toggleAddProjectForm() {
Expand Down

0 comments on commit bf48945

Please sign in to comment.