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

namespace FingersDance.Data
{
    /// <summary>
    /// Class data USER
    /// Un user a une couleurs unique
    /// </summary>
    [Serializable]
    public class User
    {
        #region Attributes

        private String _name = "";
        private String _email = "";
        private String _color = "";

        #endregion

        #region Constructor

        public User(String name, String email)
        {
            _name = name;
            _email = email;
        }

        public User(String name, String email,String color)
        {
            _name = name;
            _email = email;
            _color = color;
        }
        
        public User()
        { }
        
        #endregion

        #region Properties
        
        public String Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public String Email
        {
            get { return _email; }
            set { _email = value; }
        }

        public String Color
        {
            get { return _color; }
            set { _color = value; }
        }

        #endregion
    }
}
