add SupplierContainsIngredients
This commit is contained in:
parent
9d5bfc5706
commit
18a94f91ba
1 changed files with 154 additions and 22 deletions
|
@ -189,239 +189,371 @@ CREATE Ingredient:1001 CONTENT {
|
||||||
unit: 'Stück',
|
unit: 'Stück',
|
||||||
net_price: 0.89,
|
net_price: 0.89,
|
||||||
stock: 100,
|
stock: 100,
|
||||||
supplier_id: 101,
|
|
||||||
calories: 19,
|
calories: 19,
|
||||||
carbohydrates: 2,
|
carbohydrates: 2,
|
||||||
protein: 1.6
|
protein: 1.6
|
||||||
};
|
};
|
||||||
|
|
||||||
|
CREATE SupplierContainsIngredients CONTENT {
|
||||||
|
delivery_cost: 5.0,
|
||||||
|
delivery_time: 3,
|
||||||
|
supplier: 'Supplier:101',
|
||||||
|
ingredient: 'Ingredient:1001'
|
||||||
|
};
|
||||||
|
|
||||||
CREATE Ingredient:1002 CONTENT {
|
CREATE Ingredient:1002 CONTENT {
|
||||||
designation: 'Zwiebel',
|
designation: 'Zwiebel',
|
||||||
unit: 'Stück',
|
unit: 'Stück',
|
||||||
net_price: 0.15,
|
net_price: 0.15,
|
||||||
stock: 50,
|
stock: 50,
|
||||||
supplier_id: 101,
|
|
||||||
calories: 28,
|
calories: 28,
|
||||||
carbohydrates: 4.9,
|
carbohydrates: 4.9,
|
||||||
protein: 1.20
|
protein: 1.20
|
||||||
};
|
};
|
||||||
|
|
||||||
|
CREATE SupplierContainsIngredients CONTENT {
|
||||||
|
delivery_cost: 4.0,
|
||||||
|
delivery_time: 2,
|
||||||
|
supplier: 'Supplier:101',
|
||||||
|
ingredient: 'Ingredient:1002'
|
||||||
|
};
|
||||||
|
|
||||||
CREATE Ingredient:1003 CONTENT {
|
CREATE Ingredient:1003 CONTENT {
|
||||||
designation: 'Tomate',
|
designation: 'Tomate',
|
||||||
unit: 'Stück',
|
unit: 'Stück',
|
||||||
net_price: 0.45,
|
net_price: 0.45,
|
||||||
stock: 50,
|
stock: 50,
|
||||||
supplier_id: 101,
|
|
||||||
calories: 18,
|
calories: 18,
|
||||||
carbohydrates: 2.6,
|
carbohydrates: 2.6,
|
||||||
protein: 1
|
protein: 1
|
||||||
};
|
};
|
||||||
|
|
||||||
|
CREATE SupplierContainsIngredients CONTENT {
|
||||||
|
delivery_cost: 6.0,
|
||||||
|
delivery_time: 3,
|
||||||
|
supplier: 'Supplier:101',
|
||||||
|
ingredient: 'Ingredient:1003'
|
||||||
|
};
|
||||||
|
|
||||||
CREATE Ingredient:1004 CONTENT {
|
CREATE Ingredient:1004 CONTENT {
|
||||||
designation: 'Schalotte',
|
designation: 'Schalotte',
|
||||||
unit: 'Stück',
|
unit: 'Stück',
|
||||||
net_price: 0.20,
|
net_price: 0.20,
|
||||||
stock: 500,
|
stock: 500,
|
||||||
supplier_id: 101,
|
|
||||||
calories: 25,
|
calories: 25,
|
||||||
carbohydrates: 3.3,
|
carbohydrates: 3.3,
|
||||||
protein: 1.5
|
protein: 1.5
|
||||||
};
|
};
|
||||||
|
|
||||||
|
CREATE SupplierContainsIngredients CONTENT {
|
||||||
|
delivery_cost: 3.5,
|
||||||
|
delivery_time: 2,
|
||||||
|
supplier: 'Supplier:101',
|
||||||
|
ingredient: 'Ingredient:1004'
|
||||||
|
};
|
||||||
|
|
||||||
CREATE Ingredient:1005 CONTENT {
|
CREATE Ingredient:1005 CONTENT {
|
||||||
designation: 'Karotte',
|
designation: 'Karotte',
|
||||||
unit: 'Stück',
|
unit: 'Stück',
|
||||||
net_price: 0.30,
|
net_price: 0.30,
|
||||||
stock: 500,
|
stock: 500,
|
||||||
supplier_id: 101,
|
|
||||||
calories: 41,
|
calories: 41,
|
||||||
carbohydrates: 10,
|
carbohydrates: 10,
|
||||||
protein: 0.9
|
protein: 0.9
|
||||||
};
|
};
|
||||||
|
|
||||||
|
CREATE SupplierContainsIngredients CONTENT {
|
||||||
|
delivery_cost: 4.0,
|
||||||
|
delivery_time: 3,
|
||||||
|
supplier: 'Supplier:101',
|
||||||
|
ingredient: 'Ingredient:1005'
|
||||||
|
};
|
||||||
|
|
||||||
CREATE Ingredient:1006 CONTENT {
|
CREATE Ingredient:1006 CONTENT {
|
||||||
designation: 'Kartoffel',
|
designation: 'Kartoffel',
|
||||||
unit: 'Stück',
|
unit: 'Stück',
|
||||||
net_price: 0.15,
|
net_price: 0.15,
|
||||||
stock: 1500,
|
stock: 1500,
|
||||||
supplier_id: 101,
|
|
||||||
calories: 71,
|
calories: 71,
|
||||||
carbohydrates: 14.6,
|
carbohydrates: 14.6,
|
||||||
protein: 2
|
protein: 2
|
||||||
};
|
};
|
||||||
|
|
||||||
|
CREATE SupplierContainsIngredients CONTENT {
|
||||||
|
delivery_cost: 3.0,
|
||||||
|
delivery_time: 2,
|
||||||
|
supplier: 'Supplier:101',
|
||||||
|
ingredient: 'Ingredient:1006'
|
||||||
|
};
|
||||||
|
|
||||||
CREATE Ingredient:1007 CONTENT {
|
CREATE Ingredient:1007 CONTENT {
|
||||||
designation: 'Rucola',
|
designation: 'Rucola',
|
||||||
unit: 'Bund',
|
unit: 'Bund',
|
||||||
net_price: 0.90,
|
net_price: 0.90,
|
||||||
stock: 10,
|
stock: 10,
|
||||||
supplier_id: 101,
|
|
||||||
calories: 27,
|
calories: 27,
|
||||||
carbohydrates: 2.1,
|
carbohydrates: 2.1,
|
||||||
protein: 2.6
|
protein: 2.6
|
||||||
};
|
};
|
||||||
|
|
||||||
|
CREATE SupplierContainsIngredients CONTENT {
|
||||||
|
delivery_cost: 5.0,
|
||||||
|
delivery_time: 3,
|
||||||
|
supplier: 'Supplier:101',
|
||||||
|
ingredient: 'Ingredient:1007'
|
||||||
|
};
|
||||||
|
|
||||||
CREATE Ingredient:1008 CONTENT {
|
CREATE Ingredient:1008 CONTENT {
|
||||||
designation: 'Lauch',
|
designation: 'Lauch',
|
||||||
unit: 'Stück',
|
unit: 'Stück',
|
||||||
net_price: 1.2,
|
net_price: 1.2,
|
||||||
stock: 35,
|
stock: 35,
|
||||||
supplier_id: 101,
|
|
||||||
calories: 29,
|
calories: 29,
|
||||||
carbohydrates: 3.3,
|
carbohydrates: 3.3,
|
||||||
protein: 2.1
|
protein: 2.1
|
||||||
};
|
};
|
||||||
|
|
||||||
|
CREATE SupplierContainsIngredients CONTENT {
|
||||||
|
delivery_cost: 4.5,
|
||||||
|
delivery_time: 2,
|
||||||
|
supplier: 'Supplier:101',
|
||||||
|
ingredient: 'Ingredient:1008'
|
||||||
|
};
|
||||||
|
|
||||||
CREATE Ingredient:1009 CONTENT {
|
CREATE Ingredient:1009 CONTENT {
|
||||||
designation: 'Knoblauch',
|
designation: 'Knoblauch',
|
||||||
unit: 'Stück',
|
unit: 'Stück',
|
||||||
net_price: 0.25,
|
net_price: 0.25,
|
||||||
stock: 250,
|
stock: 250,
|
||||||
supplier_id: 101,
|
|
||||||
calories: 141,
|
calories: 141,
|
||||||
carbohydrates: 28.4,
|
carbohydrates: 28.4,
|
||||||
protein: 6.1
|
protein: 6.1
|
||||||
};
|
};
|
||||||
|
|
||||||
|
CREATE SupplierContainsIngredients CONTENT {
|
||||||
|
delivery_cost: 3.5,
|
||||||
|
delivery_time: 2,
|
||||||
|
supplier: 'Supplier:101',
|
||||||
|
ingredient: 'Ingredient:1009'
|
||||||
|
};
|
||||||
|
|
||||||
CREATE Ingredient:1010 CONTENT {
|
CREATE Ingredient:1010 CONTENT {
|
||||||
designation: 'Basilikum',
|
designation: 'Basilikum',
|
||||||
unit: 'Bund',
|
unit: 'Bund',
|
||||||
net_price: 1.3,
|
net_price: 1.3,
|
||||||
stock: 10,
|
stock: 10,
|
||||||
supplier_id: 101,
|
|
||||||
calories: 41,
|
calories: 41,
|
||||||
carbohydrates: 5.1,
|
carbohydrates: 5.1,
|
||||||
protein: 3.1
|
protein: 3.1
|
||||||
};
|
};
|
||||||
|
|
||||||
|
CREATE SupplierContainsIngredients CONTENT {
|
||||||
|
delivery_cost: 5.5,
|
||||||
|
delivery_time: 3,
|
||||||
|
supplier: 'Supplier:101',
|
||||||
|
ingredient: 'Ingredient:1010'
|
||||||
|
};
|
||||||
|
|
||||||
CREATE Ingredient:1011 CONTENT {
|
CREATE Ingredient:1011 CONTENT {
|
||||||
designation: 'Süßkartoffel',
|
designation: 'Süßkartoffel',
|
||||||
unit: 'Stück',
|
unit: 'Stück',
|
||||||
net_price: 2.0,
|
net_price: 2.0,
|
||||||
stock: 200,
|
stock: 200,
|
||||||
supplier_id: 101,
|
|
||||||
calories: 86,
|
calories: 86,
|
||||||
carbohydrates: 20,
|
carbohydrates: 20,
|
||||||
protein: 1.6
|
protein: 1.6
|
||||||
};
|
};
|
||||||
|
|
||||||
|
CREATE SupplierContainsIngredients CONTENT {
|
||||||
|
delivery_cost: 6.0,
|
||||||
|
delivery_time: 3,
|
||||||
|
supplier: 'Supplier:101',
|
||||||
|
ingredient: 'Ingredient:1011'
|
||||||
|
};
|
||||||
|
|
||||||
CREATE Ingredient:1012 CONTENT {
|
CREATE Ingredient:1012 CONTENT {
|
||||||
designation: 'Schnittlauch',
|
designation: 'Schnittlauch',
|
||||||
unit: 'Bund',
|
unit: 'Bund',
|
||||||
net_price: 0.9,
|
net_price: 0.9,
|
||||||
stock: 10,
|
stock: 10,
|
||||||
supplier_id: 101,
|
|
||||||
calories: 28,
|
calories: 28,
|
||||||
carbohydrates: 1,
|
carbohydrates: 1,
|
||||||
protein: 3
|
protein: 3
|
||||||
};
|
};
|
||||||
|
|
||||||
|
CREATE SupplierContainsIngredients CONTENT {
|
||||||
|
delivery_cost: 5.0,
|
||||||
|
delivery_time: 3,
|
||||||
|
supplier: 'Supplier:101',
|
||||||
|
ingredient: 'Ingredient:1012'
|
||||||
|
};
|
||||||
|
|
||||||
CREATE Ingredient:2001 CONTENT {
|
CREATE Ingredient:2001 CONTENT {
|
||||||
designation: 'Apfel',
|
designation: 'Apfel',
|
||||||
unit: 'Stück',
|
unit: 'Stück',
|
||||||
net_price: 1.2,
|
net_price: 1.2,
|
||||||
stock: 750,
|
stock: 750,
|
||||||
supplier_id: 102,
|
|
||||||
calories: 54,
|
calories: 54,
|
||||||
carbohydrates: 14.4,
|
carbohydrates: 14.4,
|
||||||
protein: 0.3
|
protein: 0.3
|
||||||
};
|
};
|
||||||
|
|
||||||
|
CREATE SupplierContainsIngredients CONTENT {
|
||||||
|
delivery_cost: 7.0,
|
||||||
|
delivery_time: 4,
|
||||||
|
supplier: 'Supplier:102',
|
||||||
|
ingredient: 'Ingredient:2001'
|
||||||
|
};
|
||||||
|
|
||||||
CREATE Ingredient:3001 CONTENT {
|
CREATE Ingredient:3001 CONTENT {
|
||||||
designation: 'Vollmilch. 3.5%',
|
designation: 'Vollmilch. 3.5%',
|
||||||
unit: 'Liter',
|
unit: 'Liter',
|
||||||
net_price: 1.5,
|
net_price: 1.5,
|
||||||
stock: 50,
|
stock: 50,
|
||||||
supplier_id: 103,
|
|
||||||
calories: 65,
|
calories: 65,
|
||||||
carbohydrates: 4.7,
|
carbohydrates: 4.7,
|
||||||
protein: 3.4
|
protein: 3.4
|
||||||
};
|
};
|
||||||
|
|
||||||
|
CREATE SupplierContainsIngredients CONTENT {
|
||||||
|
delivery_cost: 5.0,
|
||||||
|
delivery_time: 3,
|
||||||
|
supplier: 'Supplier:103',
|
||||||
|
ingredient: 'Ingredient:3001'
|
||||||
|
};
|
||||||
|
|
||||||
CREATE Ingredient:3002 CONTENT {
|
CREATE Ingredient:3002 CONTENT {
|
||||||
designation: 'Mozzarella',
|
designation: 'Mozzarella',
|
||||||
unit: 'Packung',
|
unit: 'Packung',
|
||||||
net_price: 3.5,
|
net_price: 3.5,
|
||||||
stock: 20,
|
stock: 20,
|
||||||
supplier_id: 103,
|
|
||||||
calories: 241,
|
calories: 241,
|
||||||
carbohydrates: 1,
|
carbohydrates: 1,
|
||||||
protein: 18.1
|
protein: 18.1
|
||||||
};
|
};
|
||||||
|
|
||||||
|
CREATE SupplierContainsIngredients CONTENT {
|
||||||
|
delivery_cost: 6.5,
|
||||||
|
delivery_time: 4,
|
||||||
|
supplier: 'Supplier:103',
|
||||||
|
ingredient: 'Ingredient:3002'
|
||||||
|
};
|
||||||
|
|
||||||
CREATE Ingredient:3003 CONTENT {
|
CREATE Ingredient:3003 CONTENT {
|
||||||
designation: 'Butter',
|
designation: 'Butter',
|
||||||
unit: 'Stück',
|
unit: 'Stück',
|
||||||
net_price: 3.0,
|
net_price: 3.0,
|
||||||
stock: 50,
|
stock: 50,
|
||||||
supplier_id: 103,
|
|
||||||
calories: 741,
|
calories: 741,
|
||||||
carbohydrates: 0.6,
|
carbohydrates: 0.6,
|
||||||
protein: 0.7
|
protein: 0.7
|
||||||
};
|
};
|
||||||
|
|
||||||
|
CREATE SupplierContainsIngredients CONTENT {
|
||||||
|
delivery_cost: 7.0,
|
||||||
|
delivery_time: 4,
|
||||||
|
supplier: 'Supplier:103',
|
||||||
|
ingredient: 'Ingredient:3003'
|
||||||
|
};
|
||||||
|
|
||||||
CREATE Ingredient:4001 CONTENT {
|
CREATE Ingredient:4001 CONTENT {
|
||||||
designation: 'Ei',
|
designation: 'Ei',
|
||||||
unit: 'Stück',
|
unit: 'Stück',
|
||||||
net_price: 0.4,
|
net_price: 0.4,
|
||||||
stock: 300,
|
stock: 300,
|
||||||
supplier_id: 102,
|
|
||||||
calories: 137,
|
calories: 137,
|
||||||
carbohydrates: 1.5,
|
carbohydrates: 1.5,
|
||||||
protein: 11.9
|
protein: 11.9
|
||||||
};
|
};
|
||||||
|
|
||||||
|
CREATE SupplierContainsIngredients CONTENT {
|
||||||
|
delivery_cost: 4.5,
|
||||||
|
delivery_time: 3,
|
||||||
|
supplier: 'Supplier:102',
|
||||||
|
ingredient: 'Ingredient:4001'
|
||||||
|
};
|
||||||
|
|
||||||
CREATE Ingredient:5001 CONTENT {
|
CREATE Ingredient:5001 CONTENT {
|
||||||
designation: 'Wiener Würstchen',
|
designation: 'Wiener Würstchen',
|
||||||
unit: 'Paar',
|
unit: 'Paar',
|
||||||
net_price: 1.8,
|
net_price: 1.8,
|
||||||
stock: 40,
|
stock: 40,
|
||||||
supplier_id: 101,
|
|
||||||
calories: 331,
|
calories: 331,
|
||||||
carbohydrates: 1.2,
|
carbohydrates: 1.2,
|
||||||
protein: 9.9
|
protein: 9.9
|
||||||
};
|
};
|
||||||
|
|
||||||
|
CREATE SupplierContainsIngredients CONTENT {
|
||||||
|
delivery_cost: 6.0,
|
||||||
|
delivery_time: 4,
|
||||||
|
supplier: 'Supplier:101',
|
||||||
|
ingredient: 'Ingredient:5001'
|
||||||
|
};
|
||||||
|
|
||||||
CREATE Ingredient:9001 CONTENT {
|
CREATE Ingredient:9001 CONTENT {
|
||||||
designation: 'Tofu-Würstchen',
|
designation: 'Tofu-Würstchen',
|
||||||
unit: 'Stück',
|
unit: 'Stück',
|
||||||
net_price: 1.8,
|
net_price: 1.8,
|
||||||
stock: 20,
|
stock: 20,
|
||||||
supplier_id: 103,
|
|
||||||
calories: 252,
|
calories: 252,
|
||||||
carbohydrates: 7,
|
carbohydrates: 7,
|
||||||
protein: 17
|
protein: 17
|
||||||
};
|
};
|
||||||
|
|
||||||
|
CREATE SupplierContainsIngredients CONTENT {
|
||||||
|
delivery_cost: 7.5,
|
||||||
|
delivery_time: 4,
|
||||||
|
supplier: 'Supplier:103',
|
||||||
|
ingredient: 'Ingredient:9001'
|
||||||
|
};
|
||||||
|
|
||||||
CREATE Ingredient:6408 CONTENT {
|
CREATE Ingredient:6408 CONTENT {
|
||||||
designation: 'Couscous',
|
designation: 'Couscous',
|
||||||
unit: 'Packung',
|
unit: 'Packung',
|
||||||
net_price: 1.9,
|
net_price: 1.9,
|
||||||
stock: 15,
|
stock: 15,
|
||||||
supplier_id: 102,
|
|
||||||
calories: 351,
|
calories: 351,
|
||||||
carbohydrates: 67,
|
carbohydrates: 67,
|
||||||
protein: 12
|
protein: 12
|
||||||
};
|
};
|
||||||
|
|
||||||
|
CREATE SupplierContainsIngredients CONTENT {
|
||||||
|
delivery_cost: 5.0,
|
||||||
|
delivery_time: 3,
|
||||||
|
supplier: 'Supplier:102',
|
||||||
|
ingredient: 'Ingredient:6408'
|
||||||
|
};
|
||||||
|
|
||||||
CREATE Ingredient:7043 CONTENT {
|
CREATE Ingredient:7043 CONTENT {
|
||||||
designation: 'Gemüsebrühe',
|
designation: 'Gemüsebrühe',
|
||||||
unit: 'Würfel',
|
unit: 'Würfel',
|
||||||
net_price: 0.2,
|
net_price: 0.2,
|
||||||
stock: 4000,
|
stock: 4000,
|
||||||
supplier_id: 101,
|
|
||||||
calories: 1,
|
calories: 1,
|
||||||
carbohydrates: 0.5,
|
carbohydrates: 0.5,
|
||||||
protein: 0.5
|
protein: 0.5
|
||||||
};
|
};
|
||||||
|
|
||||||
|
CREATE SupplierContainsIngredients CONTENT {
|
||||||
|
delivery_cost: 3.0,
|
||||||
|
delivery_time: 2,
|
||||||
|
supplier: 'Supplier:101',
|
||||||
|
ingredient: 'Ingredient:7043'
|
||||||
|
};
|
||||||
|
|
||||||
CREATE Ingredient:6300 CONTENT {
|
CREATE Ingredient:6300 CONTENT {
|
||||||
designation: 'Kichererbsen',
|
designation: 'Kichererbsen',
|
||||||
unit: 'Dose',
|
unit: 'Dose',
|
||||||
net_price: 1.0,
|
net_price: 1.0,
|
||||||
stock: 400,
|
stock: 400,
|
||||||
supplier_id: 103,
|
|
||||||
calories: 150,
|
calories: 150,
|
||||||
carbohydrates: 21.2,
|
carbohydrates: 21.2,
|
||||||
protein: 9
|
protein: 9
|
||||||
};
|
};
|
||||||
|
|
||||||
|
CREATE SupplierContainsIngredients CONTENT {
|
||||||
|
delivery_cost: 4.0,
|
||||||
|
delivery_time: 3,
|
||||||
|
supplier: 'Supplier:103',
|
||||||
|
ingredient: 'Ingredient:6300'
|
||||||
|
};
|
||||||
|
|
Loading…
Reference in a new issue