Skip to content
Snippets Groups Projects
Commit 6f544b4d authored by Johannes Wilhelm's avatar Johannes Wilhelm
Browse files

l

parent dc10b559
No related branches found
No related tags found
No related merge requests found
package de.thd.pms.controller; package de.thd.pms.controller;
import java.beans.JavaBean;
import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger; import org.apache.logging.log4j.Logger;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView; import org.springframework.web.servlet.ModelAndView;
@JavaBean
@Controller @Controller
public class HomeController { public class HomeController {
private static Logger log = LogManager.getLogger(HomeController.class); private static Logger log = LogManager.getLogger(HomeController.class);
......
...@@ -36,7 +36,7 @@ public class Buchung { ...@@ -36,7 +36,7 @@ public class Buchung {
this.id = id; this.id = id;
} }
public Date getBelegtvon() { public Date getBelegtvon() {
return belegtvon; return belegtvon;
} }
public void setBelegtvon(Date belegtvon) { public void setBelegtvon(Date belegtvon) {
this.belegtvon = belegtvon; this.belegtvon = belegtvon;
......
package de.thd.pms.model; package de.thd.pms.model;
import java.util.Set;
import javax.persistence.CascadeType;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue; import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType; import javax.persistence.GenerationType;
import javax.persistence.Id; import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.JoinTable;
import javax.persistence.ManyToMany;
import javax.persistence.ManyToOne;
import javax.persistence.Table; import javax.persistence.Table;
//Annotation //Annotation
...@@ -42,7 +36,7 @@ public class Kunde { ...@@ -42,7 +36,7 @@ public class Kunde {
*/ */
public Kunde() { public Kunde() {
} }
public Long getId() { public Long getId() {
......
...@@ -29,7 +29,7 @@ public class Zimmer { ...@@ -29,7 +29,7 @@ public class Zimmer {
public void setId(Long id) { public void setId(Long id) {
this.id = id; this.id = id;
} }
......
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