when mapping then no need to check fields if it is a value type
add table_to_class_mapper
create table_to_object_mapper

it handles classes and structs