summaryrefslogtreecommitdiff
path: root/Media.cs
diff options
context:
space:
mode:
authorJake Mannens <jake@asger.xyz>2023-08-29 13:02:41 +1000
committerJake Mannens <jake@asger.xyz>2023-08-29 13:02:41 +1000
commite9f09559b80b83e12727fd24e90d8c7f31d64856 (patch)
treeffb8f6d0f4ccc54618ff73164bcd323635dcea71 /Media.cs
parentda640de1095395e28060211dfc9b6be82924bfd6 (diff)
Added width and height properties to media objects
Diffstat (limited to 'Media.cs')
-rw-r--r--Media.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Media.cs b/Media.cs
index 47aa73b..d4f9b5b 100644
--- a/Media.cs
+++ b/Media.cs
@@ -11,6 +11,8 @@ public class Media : HBObject {
public string MimeType { get; set; }
public string? ShortDescription { get; set; }
public string? LongDescription { get; set; }
+ public int Width { get; set; }
+ public int Height { get; set; }
public virtual List<UploadedFile> UploadedFiles { get; set; } = new();
public bool IsIngest => Tags