aboutsummaryrefslogtreecommitdiff
path: root/src/Data/DevHive.Data/RelationModels/PostAttachments.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Data/DevHive.Data/RelationModels/PostAttachments.cs')
-rw-r--r--src/Data/DevHive.Data/RelationModels/PostAttachments.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/Data/DevHive.Data/RelationModels/PostAttachments.cs b/src/Data/DevHive.Data/RelationModels/PostAttachments.cs
new file mode 100644
index 0000000..48aa8ff
--- /dev/null
+++ b/src/Data/DevHive.Data/RelationModels/PostAttachments.cs
@@ -0,0 +1,16 @@
+using System;
+using System.ComponentModel.DataAnnotations.Schema;
+using DevHive.Data.Models;
+
+namespace DevHive.Data.RelationModels
+{
+ [Table("PostAttachments")]
+ public class PostAttachments
+ {
+ public Guid Id { get; set; }
+
+ public Post Post { get; set; }
+
+ public string FileUrl { get; set; }
+ }
+}