2018-08-17 18:22:26 +00:00
|
|
|
import Model from 'ember-data/model';
|
|
|
|
import attr from 'ember-data/attr';
|
|
|
|
import { fragmentArray } from 'ember-data-model-fragments/attributes';
|
2019-04-16 19:11:43 +00:00
|
|
|
import { hasMany } from 'ember-data/relationships';
|
2018-08-17 18:22:26 +00:00
|
|
|
|
2020-06-10 13:49:16 +00:00
|
|
|
export default class JobPlan extends Model {
|
|
|
|
@attr() diff;
|
|
|
|
@fragmentArray('placement-failure', { defaultValue: () => [] }) failedTGAllocs;
|
|
|
|
@hasMany('allocation') preemptions;
|
|
|
|
}
|