-
Notifications
You must be signed in to change notification settings - Fork 0
/
Post.cs
38 lines (27 loc) · 1.26 KB
/
Post.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Collections.Generic;
namespace MyBlog.Domain.Entities
{
public partial class Post
{
public virtual int Id { get; set; }
public virtual System.DateTime CreationDate { get; set; }
public virtual System.DateTime LastModifiedDate { get; set; }
public virtual Nullable<System.DateTime> PublishDate { get; set; }
public virtual string Subject { get; set; }
public virtual string Body { get; set; }
public virtual bool CommentsEnabled { get; set; }
public virtual IEnumerable<Comment> Comments{ get { return _comments; } }
private List<Comment> _comments = new List<Comment>();
public virtual IEnumerable<Category> Categories{ get { return _categories; } }
private List<Category> _categories = new List<Category>();
}
}