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

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

        [DataMember]
        public AccountingTransactionDC AccountingTransaction { get; set; }

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

            set
            {
                this._AccountingTransactions = value;
            }
        }
    }
}