Add return type in autogeneration of DAOs (get autocompletion !!)

Signed-off-by: Kevin Nguyen <k.nguyen@thecodingmachine.com>