From a2008450e649ddcf68e48817c9977fa96a76776b Mon Sep 17 00:00:00 2001 From: Gian-Andrea Hutter Date: Fri, 21 Oct 2022 21:18:29 +0200 Subject: [PATCH] #17 implementation of an example task database --- .../ch/zhaw/gartenverwaltung/io/taskdb.json | 56 ++++++++++++------- 1 file changed, 37 insertions(+), 19 deletions(-) diff --git a/src/main/java/ch/zhaw/gartenverwaltung/io/taskdb.json b/src/main/java/ch/zhaw/gartenverwaltung/io/taskdb.json index 049b341..1155b9a 100644 --- a/src/main/java/ch/zhaw/gartenverwaltung/io/taskdb.json +++ b/src/main/java/ch/zhaw/gartenverwaltung/io/taskdb.json @@ -1,32 +1,50 @@ [ { + "id" : "1", + "name" : "sow plant", + "description": "Plant the seeds/ crops in de bed.", + "startDate" : "01.05.2022", + "endDate" : "01.05.2022", + "interval" : "null" + }, + { + "id" : "2", "name" : "water plant", - "description": "water the plant, that the soil is wet around the plant.", - "tools": "watering can" - }, - { - "name" : "sow plant", - "description": "", - "tools": "crops, small shovel, gardening gloves, soil" - }, - { - "name" : "harvest plant", - "description": "", - "tools": "box or bag for the harvested vegetable" + "description": "water the plant, so that the soil is wet around the plant.", + "startDate" : "01.05.2022", + "endDate" : "01.09.2022", + "interval" : "2" }, { + "id" : "3", "name" : "fertilize plant", - "description": "", - "tools": "Fertilizer, small shovel, gardening gloves" + "description": "The fertilizer has to be mixed with water. Then fertilize the plant's soil with the mixture", + "startDate" : "01.06.2022", + "endDate" : "01.08.2022", + "interval" : "28" }, { + "id" : "4", "name" : "covering plant", - "description": "", - "tools": "" + "description": "Take a big enough coverage for the plants. Cover the whole plant with a bit space between the plant and the coverage", + "startDate" : "15.07.2022", + "endDate" : "15.07.2022", + "interval" : "null" }, { - "name" : "look for plant", - "description": "look for pest or illness at the leaves", - "tools": "" + "id" : "5", + "name" : "look after plant", + "description": "Look for pest or illness at the leaves of the plant. Check the soil around the plant, if the roots are enough covered with soil", + "startDate" : "01.05.2022", + "endDate" : "01.09.2022", + "interval" : "5" + }, + { + "id" : "6", + "name" : "harvest plant", + "description": "Pull the ripe vegetables out from the soil. Clean them with clear, fresh water. ", + "startDate" : "01.09.2022", + "endDate" : "01.09.2022", + "interval" : "null" } ] \ No newline at end of file