using System.Collections.Generic;
using System.Runtime.Serialization;

namespace BS.Shared.DataContracts.Compact
{
    [DataContract]
    public partial class CompactOrganisationDC : IDataContract
    {
        private List<CostRatePeriodDC> _CostRatePeriods;

		[DataMember]
		public ActivationTypeId ActivationType { get; set; }

        [DataMember]
        public decimal ActualHourlyRate { get; set; }

        [DataMember]
        public int ActualMinuteIntervall { get; set; }

        [DataMember]
        public decimal ActualRateFactor { get; set; }

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

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

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

        [DataMember]
        public List<CostRatePeriodDC> CostRatePeriods
        {
            get
            {
                return this._CostRatePeriods ?? (this._CostRatePeriods = new List<CostRatePeriodDC>());
            }

            set
            {
                this._CostRatePeriods = value;
            }
        }

        [DataMember]
        public bool IsCalculatingWithFactor { get; set; }

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

        [DataMember]
        public long OrganisationOid { get; set; }

        [DataMember]
        public long OrganisationVersion { get; set; }

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

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

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

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

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

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

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

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

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

    }
}