en_btr_frontend/app/models/lexical-entry.js

9 lines
177 B
JavaScript

import Model, { attr, hasMany } from '@ember-data/model';
export default class LexicalEntryModel extends Model {
@attr lemma;
@attr commentary;
@hasMany('word') word;
}