using System;
using KellermanSoftware.ContactsModule.Models;

namespace KellermanSoftware.ContactsModule.ViewModels
{
    public sealed class ContactHistoryViewModel
    {
        private readonly ContactHistory _history;

        public ContactHistoryViewModel(ContactHistory history)
        {
            _history = history;
        }

        public ContactHistory History
        {
            get { return _history; }
        }

        public long ContactHistoryId 
        {
            get 
            { 
                return _history.ContactHistoryId; 
            }
        }

        public DateTime UpdateDate 
        {
            get
            {
                return _history.UpdateDate;
            }
        }

        public string ContactType
        {
            get
            {
                return _history.ContactType;
            }
        }

        public string Note
        {
            get
            {
                return _history.Note;
            }
        }
    }
}
