UNPKG
extjs-gpl
Version:
latest (6.2.0)
6.2.0
GPL licensed version of Sencha Ext JS
github.com/tananaev/extjs-gpl
tananaev/extjs-gpl
extjs-gpl
/
examples
/
classic
/
ticket-app
/
app
/
model
/
Project.js
16 lines
(14 loc)
•
348 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/** * This entity represents a project which is a container for tickets. */
Ext.
define
(
'Ticket.model.Project'
, {
extend
:
'Ticket.model.Base'
,
fields
: [
'name'
, {
name
:
'organizationId'
,
reference
:
'Organization'
}, {
name
:
'leadId'
,
unique
:
true
,
reference
:
'User'
} ] });