Skip to content

Commit b99782b

Browse files
committed
Feat: Adds/NileJack09-hw
1 parent d460ff0 commit b99782b

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
package com.codedifferently.lesson9.dataprovider;
2+
3+
import java.util.Map;
4+
import org.springframework.stereotype.Service;
5+
6+
@Service
7+
public class AnthonyMaysProvider extends DataProvider {
8+
public String getProviderName() {
9+
return "anthonymays";
10+
}
11+
12+
public Map<String, Class> getColumnTypeByName() {
13+
return Map.of(
14+
"column1", Integer.class,
15+
"column2", String.class,
16+
"column3", Boolean.class,
17+
"column4", Float.class,
18+
"column5", Double.class,
19+
"column6", Long.class,
20+
"column7", Short.class);
21+
}
22+
}

0 commit comments

Comments
 (0)