aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Data/Entities/Chapter.cs
diff options
context:
space:
mode:
authorJPVenson <JPVenson@users.noreply.github.com>2024-09-08 16:56:14 +0000
committerGitHub <noreply@github.com>2024-09-08 16:56:14 +0000
commitee1bdf4e222125ed7382165fd7e09599ca4bd4aa (patch)
tree78b1e180c2626ccfc483f8bff9ec861079a6d8e6 /Jellyfin.Data/Entities/Chapter.cs
parentd0b4b2ddb31a54f0705303ab8461be1125d66eab (diff)
WIP move baseitem to jellyfin.db
Diffstat (limited to 'Jellyfin.Data/Entities/Chapter.cs')
-rw-r--r--Jellyfin.Data/Entities/Chapter.cs22
1 files changed, 22 insertions, 0 deletions
diff --git a/Jellyfin.Data/Entities/Chapter.cs b/Jellyfin.Data/Entities/Chapter.cs
new file mode 100644
index 000000000..6822b1902
--- /dev/null
+++ b/Jellyfin.Data/Entities/Chapter.cs
@@ -0,0 +1,22 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel.DataAnnotations;
+using System.ComponentModel.DataAnnotations.Schema;
+
+namespace Jellyfin.Data.Entities;
+
+#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
+public class Chapter
+{
+ public Guid ItemId { get; set; }
+
+ public required int ChapterIndex { get; set; }
+
+ public required long StartPositionTicks { get; set; }
+
+ public string? Name { get; set; }
+
+ public string? ImagePath { get; set; }
+
+ public DateTime? ImageDateModified { get; set; }
+}