diff options
Diffstat (limited to 'src/DevHive.Data/Models/Post.cs')
| -rw-r--r-- | src/DevHive.Data/Models/Post.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/DevHive.Data/Models/Post.cs b/src/DevHive.Data/Models/Post.cs index 8fb3e91..3f3d8c9 100644 --- a/src/DevHive.Data/Models/Post.cs +++ b/src/DevHive.Data/Models/Post.cs @@ -2,6 +2,7 @@ using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using DevHive.Data.Interfaces.Models; +using DevHive.Data.RelationModels; namespace DevHive.Data.Models { @@ -18,9 +19,8 @@ namespace DevHive.Data.Models public List<Comment> Comments { get; set; } = new(); - // public Guid RatingId { get; set; } - // public Rating Rating { get; set; } = new(); + public Rating Rating { get; set; } = new(); - public List<string> FileUrls { get; set; } = new(); + public List<PostAttachments> Attachments { get; set; } = new(); } } |
