Generate Model
The generateModel | gm
task will generate a class and interface in model layer, this task has one required
parameter name
.
gradle generateModel --name=[modelName]
gradle gm --name [modelName]
This task will generate something like that:
π¦domain
β£ πmodel
β β£ πsrc
β β β£ πmain
β β β β πjava
β β β β β π[package]
β β β β β β πmodel
β β β β β β β£ πgateways
β β β β β β β β πModelRepository.java
β β β β β β β πModel.java
β β β πtest
β β β β πjava
β β β β β π[package]
β β β β β β πmodel
β β πbuild.gradle