vreksam/DAL/Domain/Post.cs

17 lines
354 B
C#
Raw Normal View History

2017-06-12 12:16:58 +03:00
using System;
using System.ComponentModel.DataAnnotations;
namespace DAL.Domain
{
public class Post
{
[Key]
public int PostId { get; set; }
public string Title { get; set; }
public string Body { get; set; }
public DateTime CreationTime { get; set; }
public string Author { get; set; }
}
}