create Post.php for post model