client/src/Iri.Modernisation.Data/Models/VideoChapter.cs
changeset 27 f292db96b050
parent 18 66911d0f0eb6
child 36 b6df6fce6e5d
--- a/client/src/Iri.Modernisation.Data/Models/VideoChapter.cs	Tue Dec 22 16:22:22 2009 +0100
+++ b/client/src/Iri.Modernisation.Data/Models/VideoChapter.cs	Mon Jan 04 10:29:39 2010 +0100
@@ -54,19 +54,23 @@
         /// </summary>
         public List<VideoSequence> VideoSequences { get; set; }
 
+        public Color Color { get; set; }
+        public int IdChap { get; set; }
+
         /// <summary>
         /// Constructeur
         /// </summary>
         /// <param name="name">Nom du chaptire</param>
-        public VideoChapter(VideoBook fromBook,String name,VideoChapterType type)
+        public VideoChapter(VideoBook fromBook, int idChap, String name, Color color)
         {
             Book = fromBook;
-            Type = type;
+            Color = color;
+            IdChap = idChap;
             Title = name;
             Index = new List<SegmentIndex>();
             Annotations = new List<Annotation>();
             VideoSequences = new List<VideoSequence>();
-            
+
         }