Skip to content
Snippets Groups Projects
Commit 6d0de5d7 authored by Yibo Zhu's avatar Yibo Zhu
Browse files

display user details develope 1

parent 914118bb
No related branches found
No related tags found
1 merge request!10Resolve "As a user, I want to view and edit Personal information so that I can manage my detail information to show others"
package uk.ac.cf.spring.demo.sports.Userdetail; package uk.ac.cf.spring.demo.sports.Userdetail;
import java.util.List;
public interface UserService { public interface UserService {
// 获取所有用户 // 获取所有用户
List<User> getAllUsers(); static List<User> getAllUsers();
// 通过 ID 获取用户 // 通过 ID 获取用户
User getUserById(Long id); User getUserById(Long id);
......
...@@ -9,5 +9,9 @@ public class Userform { ...@@ -9,5 +9,9 @@ public class Userform {
private Long id; private Long id;
private String email; private String email;
private String username; private String username;
public Userform() {
}
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment