/* Options: Date: 2024-11-21 21:29:10 Version: 6.111 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://sharpscript.net //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: QueryCustomers.* //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 SharpScript; namespace SharpScript { public partial class Customer { public Customer() { Orders = new List{}; } public virtual string CustomerId { get; set; } public virtual string CompanyName { get; set; } public virtual string Address { get; set; } public virtual string City { get; set; } public virtual string Region { get; set; } public virtual string PostalCode { get; set; } public virtual string Country { get; set; } public virtual string Phone { get; set; } public virtual string Fax { get; set; } public virtual List Orders { get; set; } } public partial class Order { public virtual int OrderId { get; set; } public virtual string CustomerId { get; set; } public virtual DateTime OrderDate { get; set; } public virtual double Total { get; set; } } public partial class QueryCustomers : QueryDb, IReturn> { public virtual string CustomerId { get; set; } public virtual string CompanyNameContains { get; set; } public virtual string[] CountryIn { get; set; } } }