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