Compare commits
3 Commits
dev
...
4879-item-
Author | SHA1 | Date |
---|---|---|
Alex Moreno | 71a5a6fa86 | |
Alex Moreno | 5058ba5062 | |
Alex Moreno | 045519c38a |
|
@ -0,0 +1,2 @@
|
|||
INSERT INTO `salix`.`ACL` (`model`,`property`,`accessType`,`permission`,`principalType`,`principalId`)
|
||||
VALUES ('GenericAllocation','find','READ','ALLOW','ROLE','employee');
|
|
@ -2,6 +2,9 @@
|
|||
"Expense": {
|
||||
"dataSource": "vn"
|
||||
},
|
||||
"GenericAllocation": {
|
||||
"dataSource": "vn"
|
||||
},
|
||||
"Genus": {
|
||||
"dataSource": "vn"
|
||||
},
|
||||
|
|
|
@ -0,0 +1,38 @@
|
|||
{
|
||||
"name": "GenericAllocation",
|
||||
"base": "VnModel",
|
||||
"options": {
|
||||
"mysql": {
|
||||
"table": "genericAllocation"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "number",
|
||||
"id": true,
|
||||
"description": "Identifier"
|
||||
},
|
||||
"color": {
|
||||
"type": "string"
|
||||
},
|
||||
"started": {
|
||||
"type": "date",
|
||||
"mysql": {
|
||||
"columnName": "startDated"
|
||||
}
|
||||
},
|
||||
"ended": {
|
||||
"type": "date",
|
||||
"mysql": {
|
||||
"columnName": "endDated"
|
||||
}
|
||||
}
|
||||
},
|
||||
"relations": {
|
||||
"item": {
|
||||
"type": "belongsTo",
|
||||
"model": "Item",
|
||||
"foreignKey": "itemFk"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue