Update the Department.
This commit is contained in:
@@ -3,7 +3,6 @@ package space.kklochko.jdbc_hospital_example.models;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.UUID;
|
||||
|
||||
@AllArgsConstructor
|
||||
@@ -13,5 +12,11 @@ public class Department {
|
||||
String name;
|
||||
String location;
|
||||
String phone;
|
||||
|
||||
public Department(String name, String location, String phone){
|
||||
setName(name);
|
||||
setLocation(location);
|
||||
setPhone(phone);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user