We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cae2152 commit 284f8baCopy full SHA for 284f8ba
lesson_09/types/types_app/src/main/resources/data/ChigazoGrahamProvider.java
@@ -0,0 +1,26 @@
1
+package data;
2
+
3
+import java.util.Map;
4
5
+import org.springframework.stereotype.Service;
6
7
+import com.codedifferently.lesson9.dataprovider.DataProvider;
8
9
+@Service
10
+public class ChigazoGrahamProvider extends DataProvider {
11
+ public String getProviderName() {
12
+ return "chigazograham";
13
+ }
14
15
+ public Map<String, Class> getColumnTypeByName() {
16
+ return Map.of(
17
+ "column1",String.class,
18
+ "column2",Boolean.class,
19
+ "column3", Long.class,
20
+ "column4", Float.class,
21
+ "column5", Double.class,
22
+ "column6", Short.class,
23
+ "column7", Integer.class);
24
25
+}
26
0 commit comments