/* Options: Date: 2026-01-22 01:35:07 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: UpdateFarm.* //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/farms/{Id}", Verbs="POST") public static class UpdateFarm implements IReturn { public Integer id = null; public String name = null; public Integer regionId = null; public Integer measurementUnitId = null; public BigDecimal area = null; public Integer getId() { return id; } public UpdateFarm setId(Integer value) { this.id = value; return this; } public String getName() { return name; } public UpdateFarm setName(String value) { this.name = value; return this; } public Integer getRegionId() { return regionId; } public UpdateFarm setRegionId(Integer value) { this.regionId = value; return this; } public Integer getMeasurementUnitId() { return measurementUnitId; } public UpdateFarm setMeasurementUnitId(Integer value) { this.measurementUnitId = value; return this; } public BigDecimal getArea() { return area; } public UpdateFarm setArea(BigDecimal value) { this.area = value; return this; } private static Object responseType = UpdateFarmResponse.class; public Object getResponseType() { return responseType; } } public static class UpdateFarmResponse extends BaseResponse { } 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; } } }