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

namespace BS.Shared.DataContracts
{
    [DataContract]
    public class FLSAnalysisDataDetailDC : IDataContract
    {
        private List<ServiceRecordFLSOverviewDC> _ServiceRecords;

        private List<string> _Values;

        // RowType 0 = Detail, 1 = Total
        [DataMember]
        public string Name { get; set; }

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

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

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

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

        [DataMember]
        public List<ServiceRecordFLSOverviewDC> ServiceRecords
        {
            get
            {
                return this._ServiceRecords ?? (this._ServiceRecords = new List<ServiceRecordFLSOverviewDC>());
            }

            set
            {
                this._ServiceRecords = value;
            }
        }

        [DataMember]
        public List<string> Values
        {
            get
            {
                return this._Values ?? (this._Values = new List<string>());
            }

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