upload error
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
import Model, { attr } from '@ember-data/model';
|
||||
|
||||
export default class ProduktModel extends Model {
|
||||
@attr titel;
|
||||
@attr ('string') titel;
|
||||
@attr ('boolean') isSelected;
|
||||
@attr kategorie;
|
||||
@attr menge;
|
||||
@attr einheit;
|
||||
@attr bild;
|
||||
@attr ('string') kategorie;
|
||||
@attr ('number') menge;
|
||||
@attr ('string') einheit;
|
||||
@attr ('string') bild;
|
||||
|
||||
get status()
|
||||
{
|
||||
|
||||
@@ -1,15 +1,16 @@
|
||||
import Model, { attr, hasMany } from '@ember-data/model';
|
||||
|
||||
export default class RezeptModel extends Model {
|
||||
@attr titel;
|
||||
@attr ('string') titel;
|
||||
@attr ('boolean') isSelected;
|
||||
@attr ('string') beschreibung;
|
||||
@attr kategorie;
|
||||
@attr ('string') kategorie;
|
||||
@attr produkte;
|
||||
@attr gewuerze;
|
||||
@attr ('number') personen;
|
||||
@attr ('number') dauer;
|
||||
@attr ('number') personen;
|
||||
@attr ('string') bild;
|
||||
@attr gewuerze;
|
||||
|
||||
|
||||
get status()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user