Skip to content
Snippets Groups Projects
Commit 4ff2db9e authored by rokibulislam's avatar rokibulislam
Browse files

change reqeust and dao long to uuid

parent 6be87207
No related branches found
No related tags found
1 merge request!13Flights tests
......@@ -10,6 +10,6 @@ import java.util.UUID;
@AllArgsConstructor
public class IssueReportRequest {
private Long flightEncountered;
private UUID flightEncountered;
private String description;
}
......@@ -17,10 +17,10 @@ public class IssueReport implements Serializable {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private UUID id;
private Long flightEncountered;
private UUID flightEncountered;
private String description;
public IssueReport( Long flightEncountered, String description ) {
public IssueReport( UUID flightEncountered, String description ) {
this.flightEncountered = flightEncountered;
this.description = description;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment