/* Options: Date: 2026-01-22 01:53:22 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pecuario-backend.develsystems.com //GlobalNamespace: //MakePropertiesOptional: False //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetRegionsByCountry.* //ExcludeTypes: //DefaultImports: */ export interface IReturn { createResponse(): T; } export interface IGet { } export class Status { public message: string; public statusCode: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class BaseResponse { public status: Status; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class Country { public id: number; // @Required() // @StringLength(2) public code: string; // @Required() // @StringLength(3) public phoneCode: string; // @Required() // @StringLength(200) public name: string; // @Required() // @StringLength(5) public currencySymbol: string; // @Required() // @StringLength(200) public currencyName: string; // @Required() public order: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class Region { public id: number; // @References("typeof(Pecuario.Backend.Domain.Entities.Country)") public countryId: number; // @Required() // @StringLength(200) public name: string; public constructor(init?: Partial) { (Object as any).assign(this, init); } } export class GetRegionsByCountryResponse extends BaseResponse { public regions: Region[]; public constructor(init?: Partial) { super(init); (Object as any).assign(this, init); } } // @Route("/api/v1/utils/regions/{CountryId}", "GET") // @Route("/api/v1/utils/regions", "GET") export class GetRegionsByCountry implements IReturn, IGet { public countryId?: number; public constructor(init?: Partial) { (Object as any).assign(this, init); } public getTypeName() { return 'GetRegionsByCountry'; } public getMethod() { return 'GET'; } public createResponse() { return new GetRegionsByCountryResponse(); } }