Generate model for Post