presentation version

This commit is contained in:
diemarfe64635 committed 2020-06-10 01:25:47 +02:00
1 parent 5b9410cf1c
commit 1855f50d0d
35 files changed
+1282 -187

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
import Model, { attr } from '@ember-data/model';
export default class ProduktModel extends Model {
@attr titel;
@attr isSelected;
@attr kategorie;
@attr menge;
@attr einheit;
@attr bild;
get status()
{
return `${this.titel} ${this.IsSelected}`
}
}
+19
View File
@@ -0,0 +1,19 @@
import Model, { attr, hasMany } from '@ember-data/model';
export default class RezeptModel extends Model {
@attr titel;
@attr isSelected;
@attr ('string') beschreibung;
@attr kategorie;
@hasMany('produkt') produkte;
@attr gewuerze;
@attr personen;
@attr dauer;
@attr bild;
get status()
{
return `${this.titel} ${this.IsSelected}`
}
}