refined bean and entity