Tp5.0 orm database class extraction