Fix some type hint in post entity.