using System;
using System.Collections.Generic;
using System.ComponentModel;
using BeWo.Validation;

using BS.Shared.DataContracts;
using BS.Shared.DataContracts.Compact;
using BS.Shared.Extensions;

using System.Windows.Media;

namespace BeWo.ViewModel
{
	public class TeamNewsItemVM : INotifyPropertyChanged
    {
        private CompactTeamDC _Team;

	    private BindingList<NewsItemDC> _NewsItems;


	    public TeamNewsItemVM()
	    {
			NewsItems = new BindingList<NewsItemDC>();
	    }

		public BindingList<NewsItemDC> NewsItems 
		{ 
			get { return _NewsItems; }
			set { _NewsItems = value; }
		}

		public CompactTeamDC Team
		{
			get { return _Team; }
			set { _Team = value; }
		}

		public bool AllowEdit { get; set; }

		public bool IsTitleVisible { get; set; }

		public event PropertyChangedEventHandler PropertyChanged;
	}
}