An0n0ym0usHacker

Posts Model

Jul 29th, 2021
761
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using System;
  2.  
  3. namespace BlogAPI.Models
  4. {
  5.     public class BlogPost
  6.     {
  7.         public int BlogPostId { get; set; }
  8.         public string Title { get; set; }
  9.         public string Summary { get; set; }
  10.         public string Body { get; set; }
  11.         public int AuthorId { get; set; }
  12.         public Author Author { get; set; }
  13.         public int CategoryId { get; set; }
  14.         public Category Category { get; set; }
  15.         public string[] Tags { get; set; }
  16.         public DateTime CreatedAt { get; set; }
  17.  
  18.     }
  19. }
RAW Paste Data