feat: refs #7119 add VehicleState model with data source configuration #3328

Merged
jorgep merged 37 commits from 7119-createVehicle into dev 2025-02-06 09:24:11 +00:00
2 changed files with 4 additions and 1 deletions
Showing only changes of commit 9aa790ecfd - Show all commits

View File

@ -18,7 +18,7 @@ module.exports = Self => {
Self.filter = async id => {
const filter = {
fields: ['id', 'numberPlate', 'tradeMark', 'model', 'm3', 'description', 'isActive', 'warehouseFk', 'companyFk', 'countryCodeFk', 'chassis', 'leasing'],
fields: ['id', 'numberPlate', 'tradeMark', 'model', 'm3', 'description', 'isActive', 'warehouseFk', 'companyFk', 'countryCodeFk', 'chassis', 'leasing', 'isKmTruckRate'],
include: [
{
relation: 'warehouse',

View File

@ -38,6 +38,9 @@
},
"leasing": {
"type": "string"
},
"isKmTruckRate": {
"type": "number"
}
},
"relations": {