using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FingersDance.Data
{
    [Serializable]
    public class Project
    {
        private string _name = "";
        private string _date = DateTime.Now.ToString();
        private string _description = "";

        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 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;
        }

        //public Project(User u, Cutting c)
        //{
        //    _user = u;
        //    _cutting = c;
        //}

        public Project()
        {}

        #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 String VideoPath
        {
            get { return _videopath; }
            set { _videopath = value; }
        }

        //public User User
        //{
        //    get { return _user; }
        //    set { _user = value; }
        //}

        //public Cutting Cutting
        //{
        //    get { return _cutting; }
        //    set { _cutting = value; }
        //}

        public List<Cutting> Cuttings
        {
            get { return _cuttings; }
            set { _cuttings = value; }
        }

        #endregion
    }

}
