all classes implements interface Entity