This commit is contained in:
parent
be0de3511b
commit
cc8af9d14a
|
@ -42,7 +42,7 @@
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"departmentFk": {
|
"departmentFk": {
|
||||||
"type": "number"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"workerBusinessProfessionalCategoryFk": {
|
"workerBusinessProfessionalCategoryFk": {
|
||||||
"type": "number"
|
"type": "number"
|
||||||
|
@ -91,7 +91,8 @@
|
||||||
"companyCode": {
|
"companyCode": {
|
||||||
"type": "belongsTo",
|
"type": "belongsTo",
|
||||||
"model": "Company",
|
"model": "Company",
|
||||||
"foreignKey": "companyCodeFk"
|
"foreignKey": "companyCodeFk",
|
||||||
|
"primaryKey": "code"
|
||||||
},
|
},
|
||||||
"reasonEnd": {
|
"reasonEnd": {
|
||||||
"type": "belongsTo",
|
"type": "belongsTo",
|
||||||
|
@ -101,7 +102,8 @@
|
||||||
"occupationCode": {
|
"occupationCode": {
|
||||||
"type": "belongsTo",
|
"type": "belongsTo",
|
||||||
"model": "OccupationCode",
|
"model": "OccupationCode",
|
||||||
"foreignKey":"occupationCodeFk"
|
"foreignKey":"occupationCodeFk",
|
||||||
|
"primaryKey": "code"
|
||||||
},
|
},
|
||||||
"payrollCategory": {
|
"payrollCategory": {
|
||||||
"type": "belongsTo",
|
"type": "belongsTo",
|
||||||
|
|
|
@ -8,7 +8,8 @@
|
||||||
},
|
},
|
||||||
"properties": {
|
"properties": {
|
||||||
"id": {
|
"id": {
|
||||||
"type": "number"
|
"type": "number",
|
||||||
|
"id": true
|
||||||
},
|
},
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
|
Loading…
Reference in New Issue