2019-02-21 13:10:53 +00:00
|
|
|
import Model from 'ember-data/model';
|
|
|
|
import attr from 'ember-data/attr';
|
|
|
|
|
|
|
|
export const PRIMARY_KEY = 'uid';
|
2020-08-11 16:53:45 +00:00
|
|
|
export const SLUG_KEY = 'Node,ServiceID';
|
2019-02-21 13:10:53 +00:00
|
|
|
export default Model.extend({
|
|
|
|
[PRIMARY_KEY]: attr('string'),
|
2020-08-11 16:53:45 +00:00
|
|
|
ID: attr('string'),
|
2019-02-21 13:10:53 +00:00
|
|
|
ServiceName: attr('string'),
|
|
|
|
ServiceID: attr('string'),
|
2019-06-11 09:18:50 +00:00
|
|
|
Node: attr('string'),
|
2019-03-07 10:51:39 +00:00
|
|
|
ServiceProxy: attr(),
|
2019-05-15 13:44:57 +00:00
|
|
|
SyncTime: attr('number'),
|
2019-12-17 18:47:37 +00:00
|
|
|
Datacenter: attr('string'),
|
|
|
|
Namespace: attr('string'),
|
2019-02-21 13:10:53 +00:00
|
|
|
});
|