You can buy this project and download/modify it how often you want.
Files of the artifact mybatisGen version 0.1.0 from the group cn.miw.