diff -r 1a5da89daee9 -r c379899e9c94 src/FingersDance.Data/Project.cs --- 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; }