You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

rezept.js 451B

1234567891011121314151617181920
  1. import Model, { attr, hasMany } from '@ember-data/model';
  2. export default class RezeptModel extends Model {
  3. @attr ('string') titel;
  4. @attr ('boolean') isselected;
  5. @attr ('string') beschreibung;
  6. @attr ('string') kategorie;
  7. @attr produkte;
  8. @attr ('number') dauer;
  9. @attr ('number') personen;
  10. @attr ('string') bild;
  11. @attr gewuerze;
  12. get status()
  13. {
  14. return `${this.titel} ${this.IsSelected}`
  15. }
  16. }