How to make blackboard object key with multiple base class

how to make blackboard object key with multiple base class

I have 2 character class, which possible be a player character in the game, which is warrior character and witch character

, i want to use the key in my AI behaviour tree as the AI will move to the player location for chasing behaviour