- you create your restController and extends
SearchController
- you create your repository and extends
SearchRepository
- you create your service and extends
SearchService
- you create your mapper and extends
CommonMapper
{
"condition": "AND",
"rules": [
{
"value": "اکبری",
"field": "lastName",
"operator": "LIKE"
},
{
"condition": "AND",
"rules": [
{
"value": "رضا",
"field": "firstName",
"operator": "LIKE"
},
{
"value": "مدی",
"field": "job.name",
"operator": "LIKE"
}
]
}
]
}
You can use Angular Query-builder
Demo