import attr from 'ember-data/attr'; import Fragment from 'ember-data-model-fragments/fragment'; import { fragmentOwner } from 'ember-data-model-fragments/attributes'; export default class Lifecycle extends Fragment { @fragmentOwner() task; @attr('string') hook; @attr('boolean') sidecar; }