open-nomad/ui/app/models/job-version.js

12 lines
285 B
JavaScript
Raw Normal View History

2017-09-19 14:47:10 +00:00
import Model from 'ember-data/model';
import attr from 'ember-data/attr';
import { belongsTo } from 'ember-data/relationships';
export default Model.extend({
job: belongsTo('job'),
stable: attr('boolean'),
submitTime: attr('date'),
number: attr('number'),
diff: attr(),
});