using System.Runtime.Serialization;

namespace ServiceStack.Examples.ServiceModel
{
	/// <summary>
	/// Use Plain old DataContract's Define your 'Service Interface'
	/// 
	/// This purpose of this example is how you would implement a more advanced
	/// web service returning a slightly more 'complex object'.
	/// </summary>
    [DataContract(Namespace = ExampleConfig.DefaultNamespace)]
    public class GetFibonacciNumbers
	{
        [DataMember]
        public long? Skip { get; set; }

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

    [DataContract(Namespace = ExampleConfig.DefaultNamespace)]
    public class GetFibonacciNumbersResponse
	{
        [DataMember]
        public ArrayOfLong Results { get; set; }
	}
}