From 3270af5e5fb6017e1911c38b7908a0eb95b71ae1 Mon Sep 17 00:00:00 2001 From: dillontkh Date: Thu, 28 Mar 2024 21:47:55 +0800 Subject: [PATCH] Update DG --- docs/DeveloperGuide.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/DeveloperGuide.md b/docs/DeveloperGuide.md index a2e9004d3db..7dd5d5ec0bc 100644 --- a/docs/DeveloperGuide.md +++ b/docs/DeveloperGuide.md @@ -229,11 +229,11 @@ Thus, we chose to only generate QR codes when the person is successfully added t This approach was also taken for the editing/deleting of QR codes. -#### QR Code Image Naming +#### QR Code Image File Naming -QR codes associated with a client are named according to the format: [FULL NAME]_[PHONE_NUMBER].png +QR codes associated with a client are saved in the `data/qrcodes` folder as `.png` files, and named according to the following format: -This format was chosen as clients with the same name and phone number are not allowed in FitBook, so these two fields are enough to uniquely identify every client. +* [HASHCODE].png, where [HASHCODE] is the result of the `hashCode()` function of a `Person`. ### Deleting a client from FitBook