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.

Post.cs 643B

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