src/FingersDance.Data/Project.cs
changeset 148 c379899e9c94
parent 143 9f157d9c725b
child 182 25b49d4f1635
--- a/src/FingersDance.Data/Project.cs	Wed Oct 14 13:45:55 2009 +0200
+++ b/src/FingersDance.Data/Project.cs	Wed Oct 14 14:02:31 2009 +0200
@@ -8,10 +8,23 @@
     [Serializable]
     public class Project
     {
+        private string _name = "";
+        private string _date = "";
+        private string _description = "";
         private User _user = new User();
         private Cutting _cutting = new Cutting();
 
         #region Constructor
+
+        public Project(string name, string date, string desc, User u, Cutting c)
+        {
+            _date = date;
+            _description = desc;
+            _name = name;
+            _user = u;
+            _cutting = c;
+        }
+
         public Project(User u, Cutting c)
         {
             _user = u;
@@ -24,11 +37,31 @@
         #endregion
 
         #region Properties
+
+        public string Date
+        {
+            get { return _date; }
+            set { _date = value; }
+        }
+
+        public string Name
+        {
+            get { return _name; }
+            set { _name = value; }
+        }
+
+        public string Description
+        {
+            get { return _description; }
+            set { _description = value; }
+        }
+
         public User User
         {
             get { return _user; }
             set { _user = value; }
         }
+
         public Cutting Cutting
         {
             get { return _cutting; }