Files
threshold-ui/addons/api/addon/models/fragment-principal.js
T

21 lines
468 B
JavaScript
Raw Normal View History

2020-08-12 13:41:23 -04:00
import Fragment from 'ember-data-model-fragments/fragment';
import { attr } from '@ember-data/model';
export default class FragmentPrincipal extends Fragment {
// =attributes
@attr('string', {
2020-09-16 14:29:02 -04:00
description: 'ID of the related scope',
})
scope_id;
2020-08-12 13:41:23 -04:00
@attr('string', {
2020-09-16 14:29:02 -04:00
description: 'ID of the related principal (user or group)',
})
principal_id;
2020-08-12 13:41:23 -04:00
@attr('string', {
2020-09-16 14:29:02 -04:00
description: 'Type of the related principal (user or group)',
})
type;
2020-08-12 13:41:23 -04:00
}