generate Task Entity, refactor Post Entity