github.com/Aestek/consul@v1.2.4-0.20190309222502-b2c31e33971a/ui-v2/app/models/coordinate.js (about) 1 import Model from 'ember-data/model'; 2 import attr from 'ember-data/attr'; 3 4 export const PRIMARY_KEY = 'uid'; 5 export const SLUG_KEY = 'Node'; 6 7 export default Model.extend({ 8 [PRIMARY_KEY]: attr('string'), 9 [SLUG_KEY]: attr('string'), 10 Coord: attr(), 11 Segment: attr('string'), 12 Datacenter: attr('string'), 13 });