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

12 lines
301 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 class JobVersion extends Model {
@belongsTo('job') job;
@attr('boolean') stable;
@attr('date') submitTime;
@attr('number') number;
@attr() diff;
}