package com.nmakademija.nmaakademija.entity;

import java.util.List;

public class Event {

    private int id;
    private String name;

    private long startTime;

    private long endTime;

    private List<Integer> lecturers;
    private int section;


    public int getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public long getStartTime() {
        return startTime;
    }

    public long getEndTime() {
        return endTime;
    }

    public List<Integer> getLecturer() {
        return lecturers;
    }

    public int getSection() {
        return section;
    }


}

@@ -39,16 +39,39 @@
 ntity;%0A%0A
+import java.util.Date;%0A
 import j
@@ -85,16 +85,16 @@
 l.List;%0A
-
 %0Apublic 
@@ -166,20 +166,20 @@
 private 
-long
+Date
  startTi
@@ -178,25 +178,24 @@
  startTime;%0A
-%0A
     private 
@@ -194,20 +194,20 @@
 private 
-long
+Date
  endTime
@@ -389,28 +389,28 @@
 %0A    public 
-long
+Date
  getStartTim
@@ -463,12 +463,12 @@
 lic 
-long
+Date
  get

Change event startTime, endTime to Date