generate post model and controller and link with group model