add job api interface and genreate some other model