diff --git a/lesson_05/types/types_app/src/main/java/com/codedifferently/lesson5/dataprovider/RichHawkinsProvider.java b/lesson_05/types/types_app/src/main/java/com/codedifferently/lesson5/dataprovider/RichHawkinsProvider.java index 8b137891..5a7f3716 100644 --- a/lesson_05/types/types_app/src/main/java/com/codedifferently/lesson5/dataprovider/RichHawkinsProvider.java +++ b/lesson_05/types/types_app/src/main/java/com/codedifferently/lesson5/dataprovider/RichHawkinsProvider.java @@ -1 +1,22 @@ +package com.codedifferently.lesson5.dataprovider; +import java.util.Map; +import org.springframework.stereotype.Service; + +@Service +public class RichHawkins extends DataProvider { + public String getProviderName() { + return "richhawkins"; + } + + public Map getColumnTypeByName() { + return Map.of( + "column1", Boolean.class, + "column2", String.class, + "column3", Integer.class, + "column4", Float.class, + "column5", Short.class, + "column6", Double.class, + "column7", Long.class); + } +} \ No newline at end of file