base entities with relationships