github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/ui/app/models/reschedule-event.js (about) 1 import Fragment from 'ember-data-model-fragments/fragment'; 2 import { attr } from '@ember-data/model'; 3 import { fragmentOwner } from 'ember-data-model-fragments/attributes'; 4 import shortUUIDProperty from '../utils/properties/short-uuid'; 5 6 export default class RescheduleEvent extends Fragment { 7 @fragmentOwner() allocation; 8 9 @attr('string') previousAllocationId; 10 @attr('string') previousNodeId; 11 @attr('date') time; 12 @attr('string') delay; 13 14 @shortUUIDProperty('previousAllocationId') previousAllocationShortId; 15 @shortUUIDProperty('previousNodeShortId') previousNodeShortId; 16 }