From b2c0886e4647bd445bd02ae04816e7a187035e57 Mon Sep 17 00:00:00 2001 From: schrom01 Date: Thu, 24 Nov 2022 22:27:16 +0100 Subject: [PATCH] new Structure of taskdb.json --- .../ch/zhaw/gartenverwaltung/io/taskdb.json | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/src/main/resources/ch/zhaw/gartenverwaltung/io/taskdb.json b/src/main/resources/ch/zhaw/gartenverwaltung/io/taskdb.json index 6d40011..7b86231 100644 --- a/src/main/resources/ch/zhaw/gartenverwaltung/io/taskdb.json +++ b/src/main/resources/ch/zhaw/gartenverwaltung/io/taskdb.json @@ -4,8 +4,10 @@ "name": "sow plant", "description": "Plant the seeds, crops in de bed.", "startDate": "2022-05-01", + "nextExecution": "2022-05-01", + "nextNotification": "2022-05-01", "endDate": "2022-05-01", - "interval": 0, + "interval": null, "cropId": 0 }, { @@ -13,6 +15,8 @@ "name": "water plant", "description": "water the plant, so that the soil is wet around the plant.", "startDate": "2022-05-01", + "nextExecution": "2022-05-01", + "nextNotification": "2022-05-01", "endDate": "2022-09-01", "interval": 2, "cropId": 0 @@ -22,6 +26,8 @@ "name": "fertilize plant", "description": "The fertilizer has to be mixed with water. Then fertilize the plants soil with the mixture", "startDate": "2022-06-01", + "nextExecution": "2022-06-01", + "nextNotification": "2022-06-01", "endDate": "2022-08-01", "interval": 28, "cropId": 0 @@ -31,8 +37,10 @@ "name": "covering plant", "description": "Take a big enough coverage for the plants. Cover the whole plant with a bit space between the plant and the coverage", "startDate": "2022-07-01", + "nextExecution": "2022-07-01", + "nextNotification": "2022-07-01", "endDate": "2022-07-01", - "interval": 0, + "interval": null, "cropId": 0 }, { @@ -40,6 +48,8 @@ "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": "2022-05-01", + "nextExecution": "2022-05-01", + "nextNotification": "2022-05-01", "endDate": "2022-09-01", "interval": 5, "cropId": 0 @@ -49,8 +59,10 @@ "name": "harvest plant", "description": "Pull the ripe vegetables out from the soil. Clean them with clear, fresh water. ", "startDate": "2022-09-01", + "nextExecution": "2022-09-01", + "nextNotification": "2022-09-01", "endDate": "2022-09-01", - "interval": 0, + "interval": null, "cropId": 0 } ] \ No newline at end of file