github.com/iqoqo/nomad@v0.11.3-0.20200911112621-d7021c74d101/ui/app/models/reschedule-event.js (about)

     1  import Fragment from 'ember-data-model-fragments/fragment';
     2  import attr from 'ember-data/attr';
     3  import { fragmentOwner } from 'ember-data-model-fragments/attributes';
     4  import shortUUIDProperty from '../utils/properties/short-uuid';
     5  
     6  export default Fragment.extend({
     7    allocation: fragmentOwner(),
     8  
     9    previousAllocationId: attr('string'),
    10    previousNodeId: attr('string'),
    11    time: attr('date'),
    12    delay: attr('string'),
    13  
    14    previousAllocationShortId: shortUUIDProperty('previousAllocationId'),
    15    previousNodeShortId: shortUUIDProperty('previousNodeShortId'),
    16  });