Commit 9e30655b authored by Imalka L.A.'s avatar Imalka L.A.

desease identify

parent 2954323c
package com.ceyloneagro.ceyloneagrobackendservice.controller;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
@CrossOrigin(origins = "*")
@RequestMapping(value = "/api/v1/")
public class DiseaseIdentifyController {
}
......@@ -7,7 +7,7 @@ import lombok.Data;
public class SolutionResponse {
@JsonProperty("solution_id")
private String solutionId;
private Long solutionId;
@JsonProperty("solution_code")
private String solutionCode;
......@@ -22,5 +22,5 @@ public class SolutionResponse {
private Integer rateScore;
@JsonProperty("solution_type")
private Integer solutionType;
private String solutionType;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment