package cloud.cluster.sim.clustersimulator.dto;

public class Vm {
    private int requestId;
    private double startTime;
    private double endTime;

    public Vm() {
    }

    public Vm(int requestId, double startTime, double endTime) {
        this.requestId = requestId;
        this.startTime = startTime;
        this.endTime = endTime;
    }

    public int getRequestId() {
        return requestId;
    }

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

    public double getStartTime() {
        return startTime;
    }

    public void setStartTime(double startTime) {
        this.startTime = startTime;
    }

    public double getEndTime() {
        return endTime;
    }

    public void setEndTime(double endTime) {
        this.endTime = endTime;
    }

}

@@ -98,33 +98,37 @@
  private double 
-s
+taskS
 tartTime;%0A    pr
@@ -140,24 +140,64 @@
  double 
-e
+taskE
 ndTime;
+%0A    private double taskArrivalTime;
 %0A%0A    pu
@@ -247,25 +247,29 @@
 tId, double 
-s
+taskS
 tartTime, do
@@ -269,25 +269,29 @@
 ime, double 
-e
+taskE
 ndTime) %7B%0A  
@@ -329,33 +329,37 @@
 d;%0A        this.
-s
+taskS
 tartTime = start
@@ -345,33 +345,37 @@
 taskStartTime = 
-s
+taskS
 tartTime;%0A      
@@ -373,33 +373,37 @@
 e;%0A        this.
-e
+taskE
 ndTime = endTime
@@ -387,33 +387,37 @@
 s.taskEndTime = 
-e
+taskE
 ndTime;%0A    %7D%0A%0A 
@@ -590,16 +590,20 @@
 uble get
+Task
 StartTim
@@ -623,17 +623,21 @@
  return 
-s
+taskS
 tartTime
@@ -664,16 +664,20 @@
 void set
+Task
 StartTim
@@ -685,17 +685,21 @@
 (double 
-s
+taskS
 tartTime
@@ -715,17 +715,21 @@
    this.
-s
+taskS
 tartTime
@@ -731,17 +731,21 @@
 tTime = 
-s
+taskS
 tartTime
@@ -774,16 +774,20 @@
 uble get
+Task
 EndTime(
@@ -805,17 +805,21 @@
  return 
-e
+taskE
 ndTime;%0A
@@ -844,16 +844,20 @@
 void set
+Task
 EndTime(
@@ -863,17 +863,21 @@
 (double 
-e
+taskE
 ndTime) 
@@ -895,21 +895,225 @@
 his.
-endTime = end
+taskEndTime = taskEndTime;%0A    %7D%0A%0A    public double getTaskArrivalTime() %7B%0A        return taskArrivalTime;%0A    %7D%0A%0A    public void setTaskArrivalTime(double taskArrivalTime) %7B%0A        this.taskArrivalTime = taskArrival
 Time
@@ -1120,11 +1120,10 @@
 ;%0A    %7D%0A
-%0A
 %7D%0A

Refactor Vm class and add task arrival time field.