The next generation of the Teknik Services. Written in ASP.NET.
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 590B

123456789101112131415161718192021222324252627
  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. }
  18. }