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

93 lines
1.5 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
},
"date":{
"type": "Date"
},
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-07-06 06:45:33 +00:00
},
"routeFk":{
"type": "Number"
2017-06-21 10:11:38 +00:00
}
},
"acls": [
{
2017-07-11 07:36:11 +00:00
"accessType": "READ",
2017-06-21 10:11:38 +00:00
"principalType": "ROLE",
"principalId": "$everyone",
2017-07-11 07:36:11 +00:00
"permission": "ALLOW"
2017-06-21 10:11:38 +00:00
},
{
"accessType": "*",
"principalType": "ROLE",
"principalId": "root",
"permission": "ALLOW"
}
]
}