Class HomeService
java.lang.Object
com.bayudwiyansatria.spring.service.HomeService
HomeMongoRepository
This interface represents the repository for the Home entity. It extends MongoRepository
to provide CRUD operations for the Home entity.
It is annotated with @Repository
to indicate that it is a Spring Data repository.
- Since:
- 0.0.1
- Version:
- 0.0.1
- Author:
- Bayu Dwiyan Satria
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
HomeService
public HomeService()HomeMongoRepositoryThis interface represents the repository for the Home entity. It extends
MongoRepository
to provide CRUD operations for the Home entity.It is annotated with
@Repository
to indicate that it is a Spring Data repository.- Since:
- 0.0.1
-
-
Method Details
-
getHome
Returns a response indicating the success of the operation.- Returns:
- a Response object with a success message, status, and no data
- Since:
- 0.0.1
-