26 lines
343 B
JSON
26 lines
343 B
JSON
{
|
|
"name": "MailForward",
|
|
"base": "VnModel",
|
|
"options": {
|
|
"mysql": {
|
|
"table": "account.mailForward"
|
|
}
|
|
},
|
|
"properties": {
|
|
"account": {
|
|
"id": true
|
|
},
|
|
"forwardTo": {
|
|
"type": "string",
|
|
"required": true
|
|
}
|
|
},
|
|
"relations": {
|
|
"user": {
|
|
"type": "belongsTo",
|
|
"model": "Account",
|
|
"foreignKey": "account"
|
|
}
|
|
}
|
|
}
|