[mysql]: getter/setter generation on object instances