forked from liferay/liferay-portal
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ISSD-468 add ticketattachment object
- Loading branch information
1 parent
c2c2284
commit e1c1485
Showing
2 changed files
with
95 additions
and
0 deletions.
There are no files selected for viewing
84 changes: 84 additions & 0 deletions
84
...omer-portal/src/main/resources/site-initializer/object-definitions/ticket-attachment.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
{ | ||
"label": { | ||
"en-US": "Ticket Attachment" | ||
}, | ||
"name": "TicketAttachment", | ||
"objectFields": [ | ||
{ | ||
"DBType": "String", | ||
"indexed": true, | ||
"indexedAsKeyword": false, | ||
"label": { | ||
"en-US": "Account Key" | ||
}, | ||
"name": "accountKey", | ||
"required": true | ||
}, | ||
{ | ||
"DBType": "String", | ||
"indexed": true, | ||
"indexedAsKeyword": false, | ||
"label": { | ||
"en-US": "Zendesk Ticket" | ||
}, | ||
"name": "zendeskTicketId", | ||
"required": true | ||
}, | ||
{ | ||
"DBType": "String", | ||
"indexed": true, | ||
"indexedAsKeyword": false, | ||
"label": { | ||
"en-US": "Storage Provider" | ||
}, | ||
"name": "storageProvider", | ||
"required": true | ||
}, | ||
{ | ||
"DBType": "String", | ||
"indexed": true, | ||
"indexedAsKeyword": false, | ||
"label": { | ||
"en-US": "Storage Bucket" | ||
}, | ||
"name": "storageBucket", | ||
"required": true | ||
}, | ||
{ | ||
"DBType": "String", | ||
"indexed": true, | ||
"indexedAsKeyword": false, | ||
"label": { | ||
"en-US": "File Name" | ||
}, | ||
"name": "fileName", | ||
"required": true | ||
}, | ||
{ | ||
"DBType": "String", | ||
"indexed": true, | ||
"indexedAsKeyword": false, | ||
"label": { | ||
"en-US": "File Size" | ||
}, | ||
"name": "fileSize", | ||
"required": true | ||
}, | ||
{ | ||
"DBType": "String", | ||
"indexed": true, | ||
"indexedAsKeyword": false, | ||
"label": { | ||
"en-US": "Type" | ||
}, | ||
"name": "type", | ||
"required": true | ||
} | ||
], | ||
"panelCategoryKey": "control_panel.object", | ||
"pluralLabel": { | ||
"en_US": "Ticket Attachments" | ||
}, | ||
"scope": "company", | ||
"system": false | ||
} |
11 changes: 11 additions & 0 deletions
11
...n/resources/site-initializer/object-relationships/account-entry-to-ticket-attachment.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"deletionType": "cascade", | ||
"label": { | ||
"en_US": "Ticket Attachment" | ||
}, | ||
"name": "accountEntryToTicketAttachment", | ||
"objectDefinitionId1": "[$OBJECT_DEFINITION_ID:AccountEntry$]", | ||
"objectDefinitionId2": "[$OBJECT_DEFINITION_ID:TicketAttachment$]", | ||
"objectDefinitionName2": "TicketAttachment", | ||
"type": "oneToMany" | ||
} |