/* Options: Date: 2024-11-23 10:14:59 Version: 6.111 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://northwind.netcore.io //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: False //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: True //ExportValueTypes: False IncludeTypes: CachedGetCustomerDetails.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using Northwind.ServiceModel.Types; using Northwind.ServiceModel; namespace Northwind.ServiceModel { [Route("/cached/customers/{Id}")] public partial class CachedGetCustomerDetails : IReturn, IGet { public virtual string Id { get; set; } } [DataContract] public partial class CustomerDetailsResponse { public CustomerDetailsResponse() { Orders = new List{}; } [DataMember] public virtual Customer Customer { get; set; } [DataMember] public virtual List Orders { get; set; } [DataMember] public virtual ResponseStatus ResponseStatus { get; set; } } } namespace Northwind.ServiceModel.Types { [DataContract] public partial class Customer { [DataMember] public virtual string Id { get; set; } [DataMember] public virtual string CompanyName { get; set; } [DataMember] public virtual string ContactName { get; set; } [DataMember] public virtual string ContactTitle { get; set; } [DataMember] public virtual string Address { get; set; } [DataMember] public virtual string City { get; set; } [DataMember] public virtual string Region { get; set; } [DataMember] public virtual string PostalCode { get; set; } [DataMember] public virtual string Country { get; set; } [DataMember] public virtual string Phone { get; set; } [DataMember] public virtual string Fax { get; set; } } [DataContract] public partial class CustomerOrder { public CustomerOrder() { OrderDetails = new List{}; } [DataMember] public virtual Order Order { get; set; } [DataMember] public virtual List OrderDetails { get; set; } } [DataContract] public partial class Order { [DataMember] public virtual int Id { get; set; } [DataMember] public virtual string CustomerId { get; set; } [DataMember] public virtual int EmployeeId { get; set; } [DataMember] public virtual DateTime? OrderDate { get; set; } [DataMember] public virtual DateTime? RequiredDate { get; set; } [DataMember] public virtual DateTime? ShippedDate { get; set; } [DataMember] public virtual int? ShipVia { get; set; } [DataMember] public virtual decimal Freight { get; set; } [DataMember] public virtual string ShipName { get; set; } [DataMember] public virtual string ShipAddress { get; set; } [DataMember] public virtual string ShipCity { get; set; } [DataMember] public virtual string ShipRegion { get; set; } [DataMember] public virtual string ShipPostalCode { get; set; } [DataMember] public virtual string ShipCountry { get; set; } } [DataContract] public partial class OrderDetail { [DataMember] public virtual int OrderId { get; set; } [DataMember] public virtual int ProductId { get; set; } [DataMember] public virtual decimal UnitPrice { get; set; } [DataMember] public virtual short Quantity { get; set; } [DataMember] public virtual double Discount { get; set; } } }