17 lines
354 B
C#
17 lines
354 B
C#
|
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; }
|
|||
|
|
|||
|
}
|
|||
|
}
|