added Resource model and renamed enum BlogPostStatus to PostStatus