provides very useful class definitions for mybatis persistence framework.
- Basic PO Support
- Extends VO Support
- MyBatis integrated
- MyBatis PageHelper
- LogicDelete Enhanced
Maven:
<dependency>
<groupId>com.codimiracle.web</groupId>
<artifactId>mybatis-contract</artifactId>
<version>1.0.1-SNAPSHOT</version>
</dependency>
Gradle: (TODO)
Manual:
- clone the repo
- using maven compile and install
- import in the project
Basically, you can extends the AbstractService (VO supported in the support.vo package.)
// ExampleService
// omits MyBatis Mapper class and Mapper.xml
class ExampleService extends AbstractService<Long, Example> {}