Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace BlogAPI.Models
- {
- public class BlogPost
- {
- public int BlogPostId { get; set; }
- public string Title { get; set; }
- public string Summary { get; set; }
- public string Body { get; set; }
- public int AuthorId { get; set; }
- public Author Author { get; set; }
- public int CategoryId { get; set; }
- public Category Category { get; set; }
- public string[] Tags { get; set; }
- public DateTime CreatedAt { get; set; }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement