29 lines
445 B
JSON
29 lines
445 B
JSON
{
|
|
"name": "Parrainage",
|
|
"base": "PersistedModel",
|
|
"idInjection": true,
|
|
"options": {
|
|
"validateUpsert": true
|
|
},
|
|
"properties": {
|
|
"when": {
|
|
"type": "date",
|
|
"required": true
|
|
},
|
|
"who": {
|
|
"type": "string",
|
|
"required": true
|
|
}
|
|
},
|
|
"validations": [],
|
|
"relations": {
|
|
"elu": {
|
|
"type": "belongsTo",
|
|
"model": "Elu",
|
|
"foreignKey": ""
|
|
}
|
|
},
|
|
"acls": [],
|
|
"methods": {}
|
|
}
|