client/src/Iri.Modernisation.Data/Models/VideoChapter.cs
changeset 0 249d70e7b32d
child 10 12515e11b357
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/client/src/Iri.Modernisation.Data/Models/VideoChapter.cs	Wed Nov 18 15:30:31 2009 +0100
@@ -0,0 +1,63 @@
+using System;
+using System.Net;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Shapes;
+using System.Collections.Generic;
+namespace Iri.Modernisation.Data.Models
+{
+    /// <summary>
+    /// Chapitre d'un VideoLivre
+    /// </summary>
+    public class VideoChapter
+    {
+        /// <summary>
+        /// VideoLivre
+        /// </summary>
+        public VideoBook Book {get;set;}
+
+        /// <summary>
+        /// Titre du chapitre
+        /// </summary>
+        public String Title { get; set; }
+
+        /// <summary>
+        /// Liste des index contenu dans le chapitre
+        /// </summary>
+        public List<SegmentIndex> Index { get; set; }
+
+        /// <summary>
+        /// Liste des annotations contenu dans le chapitre
+        /// </summary>
+        public List<Annotation> Annotations { get; set; }
+
+        /// <summary>
+        /// Sequence Vidéo contenu dans le chapitre
+        /// </summary>
+        public List<VideoSequence> VideoSequences { get; set; }
+
+        /// <summary>
+        /// Constructeur
+        /// </summary>
+        /// <param name="name">Nom du chaptire</param>
+        public VideoChapter(VideoBook fromBook,String name)
+        {
+            Book = fromBook;
+            Title = name;
+            Index = new List<SegmentIndex>();
+            Annotations = new List<Annotation>();
+            VideoSequences = new List<VideoSequence>();
+            
+        }
+       
+        
+
+
+
+    }
+}