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

namespace BS.Shared.DataContracts
{
    [DataContract]
    public class InvoiceItemDC : IDataContract
    {
        
        [DataMember]
        public decimal? AmountPerUnit { get; set; }

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

        [DataMember]
        public decimal? GrossAmountTotal { get; set; }

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

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

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

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

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

        [DataMember]
        public decimal? RateFactor { get; set; }

        [DataMember]
        public decimal? UnitCount { get; set; }

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

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

        [DataMember]
        public ServiceRecordDC ServiceRecord { get; set; }

        [DataMember]
        public AccountingIntervalType? AccountingInterval { get; set; }

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

        [DataMember]
        public decimal? MaxApprovedUnitCount { get; set; }

        [DataMember]
        public decimal? ApprovedPerUnit { get; set; }

        [DataMember]
        public AccountingIntervalType? ApprovalUnit { get; set; }

        [DataMember]
        public decimal? MaxApprovedAmount { get; set; }

		[DataMember]
		public String Notice { get; set; }

    }
}