push init4

This commit is contained in:
tuanvu
2025-10-06 12:20:36 +02:00
parent fd66500f46
commit a0f7399e83
3 changed files with 20 additions and 1 deletions

View File

@@ -1,6 +1,16 @@
package sample.data.jpa.web;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RequestMapping;
import sample.data.jpa.service.SessionDao;
@RequestMapping("/session")
public class SessionController {
private SessionDao sessionDao;
}

View File

@@ -10,6 +10,7 @@ import sample.data.jpa.domain.User;
import sample.data.jpa.service.UserDao;
@Controller
@RequestMapping("/user")
public class UserController {
/**

View File

@@ -1,6 +1,14 @@
package sample.data.jpa.web;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import sample.data.jpa.service.UtilisateurDao;
@RequestMapping("/session")
public class UtilisateurController {
private UtilisateurDao utilisateurDao;
}