aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Data/Models/Post.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/DevHive.Data/Models/Post.cs')
-rw-r--r--src/DevHive.Data/Models/Post.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/DevHive.Data/Models/Post.cs b/src/DevHive.Data/Models/Post.cs
index 95d7ac8..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
{
@@ -20,6 +21,6 @@ namespace DevHive.Data.Models
public Rating Rating { get; set; } = new();
- public List<string> FileUrls { get; set; } = new();
+ public List<PostAttachments> Attachments { get; set; } = new();
}
}