Merge pull request #12482 from hkhan/JAVA-13264-fix-article-code
[JAVA-13264] Add missing classes
This commit is contained in:
commit
324b8ee7af
|
@ -0,0 +1,7 @@
|
|||
package com.baeldung.constructordi.service;
|
||||
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public class UserRepository {
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
package com.baeldung.constructordi.service;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
public class UserService {
|
||||
|
||||
@Autowired
|
||||
private UserRepository userRepository;
|
||||
}
|
Loading…
Reference in New Issue