fix model define
Merge branch 'master' of github.com:Tradesparq/raptor-api