[Config - 기능]
[DTO - 기능]
[Repository - 기능]
Interface구조
**@Repository
public class UserRepoImpl implements UserRepository {
// ...
}**
Class구조
@Repository
public class BookRepoImpl implements BookRepository {
// ...
}
[Service - 기능]
@Service
@Autowired
@Service
public class UserServiceImpl implements UserService {
@Autowired
private UserRepository userRepository;
// ..
}
[Controller- 기능]