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

using BS.Shared.DataContracts.Compact;

namespace BS.Shared.DataContracts
{
    [DataContract]
    public partial class FinanceOverviewItemDC : IDataContract
    {
        private List<AccountingTransactionDC> _AccountingTransactions;

        [DataMember]
        public List<AccountingTransactionDC> AccountingTransactions
        {
            get
            {
                return this._AccountingTransactions ?? (this._AccountingTransactions = new List<AccountingTransactionDC>());
            }

            set
            {
                this._AccountingTransactions = value;
            }
        }

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

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

        [DataMember]
        public CompactCostBearerDC CostBearer { get; set; }

        [DataMember]
        public CompactSupportConceptDC SupportConcept { get; set; }
    }
}