import java.time.ZonedDateTime;


/**
 * @author 445434
 */
public class Accomodation {
    private Long id;
    private Long guestId;
    private Long roomId;
    private ZonedDateTime dateFrom;
    private ZonedDateTime dateTo;
    private Double totalPrice;

    public Long getId() {
        return id;
    }

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

    public Long getGuestId() {
        return guestId;
    }

    public void setGuestId(Long guestId) {
        this.guestId = guestId;
    }

    public Long getRoomId() {
        return roomId;
    }

    public void setRoomId(Long roomId) {
        this.roomId = roomId;
    }

    public ZonedDateTime getDateFrom() {
        return dateFrom;
    }

    public void setDateFrom(ZonedDateTime dateFrom) {
        this.dateFrom = dateFrom;
    }

    public ZonedDateTime getDateTo() {
        return dateTo;
    }

    public void setDateTo(ZonedDateTime dateTo) {
        this.dateTo = dateTo;
    }

    public Double getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(Double totalPrice) {
        this.totalPrice = totalPrice;
    }
}

@@ -114,28 +114,27 @@
 private 
-Long
+Guest
  guest
-Id
 ;%0A    pr
@@ -139,27 +139,25 @@
 private 
-Long
+Room
  room
-Id
 ;%0A    pr
@@ -373,28 +373,29 @@
 %0A    public 
-Long
+Guest
  getGuestId(
@@ -391,18 +391,16 @@
 getGuest
-Id
 () %7B%0A   
@@ -412,26 +412,24 @@
 return guest
-Id
 ;%0A    %7D%0A%0A   
@@ -453,23 +453,20 @@
 uest
-Id(Long
+(Guest
  guest
-Id
 ) %7B%0A
@@ -487,18 +487,16 @@
 uest
-Id
  = guest
 Id;%0A
@@ -491,18 +491,16 @@
  = guest
-Id
 ;%0A    %7D%0A
@@ -515,20 +515,20 @@
 lic 
-Long
+Room
  getRoom
 Id()
@@ -523,18 +523,16 @@
  getRoom
-Id
 () %7B%0A   
@@ -543,26 +543,24 @@
  return room
-Id
 ;%0A    %7D%0A%0A   
@@ -583,22 +583,18 @@
 Room
-Id(Long
+(Room
  room
-Id
 ) %7B%0A
@@ -614,19 +614,15 @@
 room
-Id
  = room
-Id
 ;%0A  

Use direct Guest and Room reference in Accomodation instead of id