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
    {
        private String _name="";
        private String _email="";
        private String _alias="";
        private String _colorkey="";

        #region Constructor
        public User(String name, String email, String alias)
        {
            _name = name;
            _email = email;
            _alias = alias;
        }

        public User(String name, String email, String alias,String color)
        {
            _name = name;
            _email = email;
            _alias = alias;
            _colorkey = 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 Alias
        {
            get { return _alias; }
            set { _alias = value; }
        }
        #endregion
    }
}
