add sql generated model