en_btr_frontend/app/models/verse.js

13 lines
250 B
JavaScript

import Model, { attr, hasMany, belongsTo } from '@ember-data/model';
export default class VerseModel extends Model {
@attr name;
@attr greekText;
@attr ulbText;
@attr reference;
@belongsTo('chapter') chapter;
@hasMany('word') words;
}