исправлено 0_о

This commit is contained in:
lynxwq2
2025-11-28 17:40:53 +03:00
parent 4a22c9d466
commit 94a8cddd51
5 changed files with 19 additions and 14 deletions

View File

@@ -35,9 +35,11 @@ public class Employee {
@OneToMany(mappedBy = "employee", cascade = CascadeType.ALL, fetch = FetchType.LAZY)
private List<Booking> bookingList;
public Employee(long id, String name) {
public Employee(long id, String name, String code, String photoUrl) {
this.id = id;
this.name = name;
this.code = code;
this.photoUrl = photoUrl;
}
}