node js ORM model structure