исправлено 0_о
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user