fix build error of ORM class.