parent
17651e071e
commit
93d70d3c95
9 changed files with 85 additions and 14 deletions
10
app/models/adfg-permit.js
Normal file
10
app/models/adfg-permit.js
Normal file
|
@ -0,0 +1,10 @@
|
|||
import DS from 'ember-data';
|
||||
|
||||
const { Model, attr, hasMany } = DS;
|
||||
|
||||
export default Model.extend({
|
||||
name: attr('string'),
|
||||
sortOrder: attr('number'),
|
||||
|
||||
collection: hasMany('collection'),
|
||||
});
|
|
@ -16,6 +16,7 @@ export const schema = {
|
|||
studyLocation: belongsTo('study-location'),
|
||||
collectionMethod: belongsTo('collection-method'),
|
||||
collectionType: belongsTo('collection-type'),
|
||||
adfgPermit: belongsTo('adfg-permit'),
|
||||
};
|
||||
|
||||
export default Model.extend(Object.assign({}, schema, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue