Skip to content

Commit 3cf971c

Browse files
author
“Tezz03”
committed
fix: lesson_09
1 parent 30d4100 commit 3cf971c

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 MontezBrProvider extends DataProvider {
8+
public String getProviderName() {
9+
return "montezb";
10+
}
11+
12+
public Map<String, Class> getColumnTypeByName() {
13+
return Map.of(
14+
"column1", Boolean.class,
15+
"column2", Float.class,
16+
"column3", Double.class,
17+
"column4", Short.class,
18+
"column5", Integer.class,
19+
"column6", String.class,
20+
"column7", Long.class);
21+
}
22+
}

0 commit comments

Comments
 (0)