The next generation of the Teknik Services. Written in ASP.NET. https://www.teknik.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

BlogPost.cs 766B

123456789101112131415161718192021222324252627282930313233
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel.DataAnnotations;
  4. namespace Teknik.Areas.Blog.Models
  5. {
  6. public class BlogPost
  7. {
  8. public int BlogPostId { get; set; }
  9. public int BlogId { get; set; }
  10. public virtual Blog Blog { get; set; }
  11. public bool System { get; set; }
  12. public DateTime DatePosted { get; set; }
  13. public DateTime DatePublished { get; set; }
  14. public DateTime DateEdited { get; set; }
  15. public bool Published { get; set; }
  16. public string Title { get; set; }
  17. public string Article { get; set; }
  18. public List<string> Tags { get; set; }
  19. public virtual ICollection<BlogPostComment> Comments { get; set; }
  20. }
  21. }