Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
21_22-J 39 - backend service-plant-threat-identifier
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Imalka L.A.
21_22-J 39 - backend service-plant-threat-identifier
Commits
9e30655b
Commit
9e30655b
authored
Feb 23, 2022
by
Imalka L.A.
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
desease identify
parent
2954323c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
2 deletions
+18
-2
src/main/java/com/ceyloneagro/ceyloneagrobackendservice/controller/DiseaseIdentifyController.java
...obackendservice/controller/DiseaseIdentifyController.java
+16
-0
src/main/java/com/ceyloneagro/ceyloneagrobackendservice/dto/response/SolutionResponse.java
...loneagrobackendservice/dto/response/SolutionResponse.java
+2
-2
No files found.
src/main/java/com/ceyloneagro/ceyloneagrobackendservice/controller/DiseaseIdentifyController.java
0 → 100644
View file @
9e30655b
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
{
}
src/main/java/com/ceyloneagro/ceyloneagrobackendservice/dto/response/SolutionResponse.java
View file @
9e30655b
...
@@ -7,7 +7,7 @@ import lombok.Data;
...
@@ -7,7 +7,7 @@ import lombok.Data;
public
class
SolutionResponse
{
public
class
SolutionResponse
{
@JsonProperty
(
"solution_id"
)
@JsonProperty
(
"solution_id"
)
private
Stri
ng
solutionId
;
private
Lo
ng
solutionId
;
@JsonProperty
(
"solution_code"
)
@JsonProperty
(
"solution_code"
)
private
String
solutionCode
;
private
String
solutionCode
;
...
@@ -22,5 +22,5 @@ public class SolutionResponse {
...
@@ -22,5 +22,5 @@ public class SolutionResponse {
private
Integer
rateScore
;
private
Integer
rateScore
;
@JsonProperty
(
"solution_type"
)
@JsonProperty
(
"solution_type"
)
private
Integer
solutionType
;
private
String
solutionType
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment