base data classes

base data classes with different type for id