using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Media;

namespace ChatController.ChatKlassen
{
    public class AktuellerKontakt
    {
        public KontaktlistBuilder Kontakt { get; set; }

        public string Name { get; private set; }
        public ImageSource Image { get; private set; }
        public DateTime TimeStamp { get; set; }
        public long GroupId { get; set; }
        public long? CustomerOid { get; set; }
       
        
        public AktuellerKontakt(KontaktlistBuilder kontakt)
        {
            if(kontakt != null) { 
                Kontakt = kontakt;
                Image = kontakt.Image;
                TimeStamp = kontakt.TimeStamp;
                Name = kontakt.Name;
                CustomerOid = kontakt.CustomerOid;
                GroupId = kontakt.GroupId;
            }
        }
    }
}
