use panda-tool codegen to generate source