--- a/src/FingersDance.Data/Project.cs Wed Oct 28 13:46:38 2009 +0100
+++ b/src/FingersDance.Data/Project.cs Wed Oct 28 17:07:27 2009 +0100
@@ -9,27 +9,38 @@
public class Project
{
private string _name = "";
- private string _date = "";
+ private string _date = DateTime.Now.ToString();
private string _description = "";
- private User _user = new User();
- private Cutting _cutting = new Cutting();
+ private String _videoname = "";
+ private String _videopath = "";
+
+ //private User _user = new User();
+ //private Cutting _cutting = new Cutting();
+ private List<Cutting> _cuttings = new List<Cutting>();
+
#region Constructor
- public Project(string name, string date, string desc, User u, Cutting c)
+ public Project(string videoName, string videoPath)
+ {
+ _videoname = videoName;
+ _videopath = videoPath;
+ }
+
+ public Project(string name, string date, string desc)
{
_date = date;
_description = desc;
_name = name;
- _user = u;
- _cutting = c;
+ //_user = u;
+ //_cutting = c;
}
- public Project(User u, Cutting c)
- {
- _user = u;
- _cutting = c;
- }
+ //public Project(User u, Cutting c)
+ //{
+ // _user = u;
+ // _cutting = c;
+ //}
public Project()
{}
@@ -56,16 +67,28 @@
set { _description = value; }
}
- public User User
+ public String VideoPath
{
- get { return _user; }
- set { _user = value; }
+ get { return _videopath; }
+ set { _videopath = value; }
}
- public Cutting Cutting
+ //public User User
+ //{
+ // get { return _user; }
+ // set { _user = value; }
+ //}
+
+ //public Cutting Cutting
+ //{
+ // get { return _cutting; }
+ // set { _cutting = value; }
+ //}
+
+ public List<Cutting> Cuttings
{
- get { return _cutting; }
- set { _cutting = value; }
+ get { return _cuttings; }
+ set { _cuttings = value; }
}
#endregion