Modified the Entities, because of its ids does not matchs when I want to create a new post entity and try to save it to database.