vreksam/DAL/Domain/Post.cs

20 lines
439 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; }
public int ForumId { get; set; }
public Foorum Foorum { get; set; }
2017-06-12 12:16:58 +03:00
}
}