entity base