Added data annontations to Post class to match client-side model.