salix/services/production/common/models/fake-production.json

88 lines
1.4 KiB
JSON
Raw Normal View History

2017-06-21 10:11:38 +00:00
{
"name": "FakeProduction",
"base": "MyModel",
"validateUpsert": true,
"properties": {
"id": {
"type": "Number",
"id": true,
"description": "Identifier"
},
"ticketFk": {
"type": "Number"
},
"clientFk": {
"type": "Number"
},
"client":{
"type": "String"
2017-06-21 10:11:38 +00:00
},
"hour":{
"type": "String"
},
"city":{
"type": "String"
},
"province":{
"type": "String"
},
"provinceFk":{
"type": "Number"
},
"agency":{
"type": "String"
},
"agencyFk":{
"type": "Number"
},
2017-06-21 10:11:38 +00:00
"lines":{
"type": "Number"
},
"m3":{
"type": "Number"
},
"problems":{
2017-06-21 10:11:38 +00:00
"type": "Number"
},
"problem":{
2017-06-21 10:11:38 +00:00
"type": "String"
},
"state":{
2017-06-21 10:11:38 +00:00
"type": "String"
},
"stateFk":{
"type": "Number"
},
"worker":{
"type": "String"
},
"workerFk":{
"type": "Number"
},
"salesPerson":{
"type": "String"
},
"salesPersonFk":{
"type": "Number"
},
"boxes":{
"type": "Number"
2017-06-21 10:11:38 +00:00
}
2017-06-21 10:11:38 +00:00
},
"acls": [
{
"accessType": "*",
"principalType": "ROLE",
"principalId": "$everyone",
"permission": "DENY"
},
{
"accessType": "*",
"principalType": "ROLE",
"principalId": "root",
"permission": "ALLOW"
}
]
}