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