/* Options: Date: 2026-08-14 21:35:31 Version: 10.09 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazor-gallery.servicestack.net //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: QueryInvoices.* //ExcludeTypes: //DefaultImports: */ package dtos import ( ss "github.com/ServiceStack/servicestack-go" "time" ) type Invoices struct { InvoiceId int64 `json:"invoiceId,omitempty"` CustomerId int64 `json:"customerId,omitempty"` InvoiceDate time.Time `json:"invoiceDate,omitempty"` BillingAddress string `json:"billingAddress"` BillingCity string `json:"billingCity"` BillingState string `json:"billingState"` BillingCountry string `json:"billingCountry"` BillingPostalCode string `json:"billingPostalCode"` Total float64 `json:"total,omitempty"` } // @Route("/invoices", "GET") // @Route("/invoices/{InvoiceId}", "GET") type QueryInvoices struct { ss.QueryDb InvoiceId *int64 `json:"invoiceId,omitempty"` } func (QueryInvoices) CreateResponse() (r ss.QueryResponse[Invoices]) { return } func (QueryInvoices) HttpMethod() string { return "GET" }