for entity define