ccdb-web/app/models/region.js
2017-11-10 11:18:33 -07:00

11 lines
215 B
JavaScript

import DS from 'ember-data';
const { Model, attr, hasMany } = DS;
export default Model.extend({
name: attr('string'),
code: attr('string'),
sortOrder: attr('number'),
site: hasMany('site'),
});