/* Options: Date: 2026-01-22 01:48:00 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://pecuario-backend.develsystems.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: RequestCredit.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/api/v1/credit/request", Verbs="POST") public static class RequestCredit implements IReturn, IPost { public String nombre = null; public String dpi = null; public String fechaDeNacimiento = null; public String telefono = null; public BigDecimal montoAFinanciar = null; public Integer regionId = null; public Integer cityId = null; public String getNombre() { return nombre; } public RequestCredit setNombre(String value) { this.nombre = value; return this; } public String getDpi() { return dpi; } public RequestCredit setDpi(String value) { this.dpi = value; return this; } public String getFechaDeNacimiento() { return fechaDeNacimiento; } public RequestCredit setFechaDeNacimiento(String value) { this.fechaDeNacimiento = value; return this; } public String getTelefono() { return telefono; } public RequestCredit setTelefono(String value) { this.telefono = value; return this; } public BigDecimal getMontoAFinanciar() { return montoAFinanciar; } public RequestCredit setMontoAFinanciar(BigDecimal value) { this.montoAFinanciar = value; return this; } public Integer getRegionId() { return regionId; } public RequestCredit setRegionId(Integer value) { this.regionId = value; return this; } public Integer getCityId() { return cityId; } public RequestCredit setCityId(Integer value) { this.cityId = value; return this; } private static Object responseType = RequestCreditResponse.class; public Object getResponseType() { return responseType; } } public static class RequestCreditResponse extends BaseResponse { public String id = null; public String getId() { return id; } public RequestCreditResponse setId(String value) { this.id = value; return this; } } public static class Status { public String message = null; public Integer statusCode = null; public String getMessage() { return message; } public Status setMessage(String value) { this.message = value; return this; } public Integer getStatusCode() { return statusCode; } public Status setStatusCode(Integer value) { this.statusCode = value; return this; } } public static class BaseResponse { public Status status = null; public Status getStatus() { return status; } public BaseResponse setStatus(Status value) { this.status = value; return this; } } }