using System.ComponentModel;

using BS.Shared;

namespace BeWo.ViewModel
{
    public class FrequencyTranslation : INotifyPropertyChanged
    {
        private string _Translation;

        public event PropertyChangedEventHandler PropertyChanged;

        public ResourceBookingFrequencyType Frequency { get; set; }

        public string Translation
        {
            get { return _Translation; }

            set
            {
                _Translation = value;

                if (PropertyChanged != null)
                    PropertyChanged(this, new PropertyChangedEventArgs("Translation"));
            }
        }
    }
}