package cloudSimulator.dto;

import org.springframework.data.annotation.Id;

public class RequestDetails {

    @Id
    private String id;

    private long requestId;
    private double responseTime;

    public RequestDetails() {
    }

    public RequestDetails(long requestId, double responseTime) {
        this.requestId = requestId;
        this.responseTime = responseTime;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public long getRequestId() {
        return requestId;
    }

    public void setRequestId(long requestId) {
        this.requestId = requestId;
    }

    public double getResponseTime() {
        return responseTime;
    }

    public void setResponseTime(double responseTime) {
        this.responseTime = responseTime;
    }

}

@@ -157,24 +157,63 @@
  requestId;%0A
+    private double requestArrivalTime;%0A
     private 
@@ -326,56 +326,305 @@
 e re
-sponseTime) %7B%0A        this.requestId = requestId
+questArrivalTime) %7B%0A        this.requestId = requestId;%0A        this.requestArrivalTime = requestArrivalTime;%0A    %7D%0A%0A    public RequestDetails(long requestId, double requestArrivalTime, double responseTime) %7B%0A        this.requestId = requestId;%0A        this.requestArrivalTime = requestArrivalTime
 ;%0A  
@@ -936,32 +936,246 @@
 questId;%0A    %7D%0A%0A
+    public double getRequestArrivalTime() %7B%0A        return requestArrivalTime;%0A    %7D%0A%0A    public void setRequestArrivalTime(double requestArrivalTime) %7B%0A        this.requestArrivalTime = requestArrivalTime;%0A    %7D%0A%0A
     public doubl

Add arrival time and update constructor.