generate all admin code for new model