using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OPSSDK;
using OPSSDKCommon.Model;

namespace OPSAgentDialer.Model.Settings
{
    public class PhoneBookItemInfo
    {
        public PhoneBookItemInfo()
        {
            
        }

        public PhoneBookItemInfo(IUser user)
        {
            Username = user.Username;
            Name = user.ContactDetails.FullName;
            PhoneNumber = user.PhoneNumber;
            Extensions = user.Devices;
            Email = user.ContactDetails.Email;
        }

        public string Username { get; set; }

        public string Name { get; set; }

        public List<string> Extensions { get; set; }

        public string PhoneNumber { get; set; }

        public string Email { get; set; }
    }
}
