dotnet-dynamic-linq/PoweredSoft.DynamicLinq.Dal/Pocos/Post.cs

22 lines
591 B
C#
Raw Normal View History

2018-02-11 20:55:29 -05:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PoweredSoft.DynamicLinq.Dal.Pocos
{
public class Post
{
public long Id { get; set; }
public long AuthorId { get; set; }
public string Title { get; set; }
public string Content { get; set; }
public DateTimeOffset CreateTime { get; set; }
public DateTimeOffset? PublishTime { get; set; }
public Author Author { get; set; }
public virtual ICollection<Comment> Comments { get; set; }
}
}