/* Options: Date: 2025-12-06 07:02:45 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://backoffice-api.brovs.com //GlobalNamespace: BackofficeApi //MakePartial: True //MakeVirtual: False //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: True //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: True //ExportValueTypes: False IncludeTypes: BusinessSearchRequest.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.IO; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using BackofficeApi; namespace BackofficeApi { public partial class BusinessDto { public long Id { get; set; } public string Name { get; set; } public string? OrganizationNumber { get; set; } public string PostalAddress { get; set; } public string PostalCode { get; set; } public string City { get; set; } public string Country { get; set; } public BusinessContact? Contact { get; set; } } [Route("/business/search", "GET")] public partial class BusinessSearchRequest : IReturn, IGet { public string Query { get; set; } public int? Size { get; set; } public int? Offset { get; set; } } public partial class BusinessSearchResponse { public List Businesses { get; set; } = []; public long Total { get; set; } public int Size { get; set; } public int Offset { get; set; } } public partial class BusinessContact { public string FirstName { get; set; } public string LastName { get; set; } public string Position { get; set; } public string? Phone { get; set; } public string? Email { get; set; } } }