using System;
using System.Runtime.Serialization;
using BS.Shared.DataContracts.Compact;

namespace BS.Shared.DataContracts
{
    [DataContract]
    public class NewsItemDC : IDataContract
    {
        [DataMember]
        public long? NewsItemOid { get; set; }

        [DataMember]
        public long? NewsItemVersion { get; set; }

        [DataMember]
        public DateTime? PublishDate { get; set; }

        [DataMember]
        public string Text { get; set; }

        [DataMember]
        public string Title { get; set; }

		public string TitleString { get; set; }

		[DataMember]
		public CompactTeamDC Team{ get; set; }

		public bool AllowEdit { get; set; }
    }
}