I want to make a complaint resolution system with problem id,
I want to make it with firebase,
I set projectBucket to Dashboard and in the projectBucket save mobile number in the mobile number saved Name, Problem, Date and etc
Means Dashboard --> mobileNumber --> Name, Problem, Date and etc.
I am confused in I store Name, Problem, Date and etc in mobileNumber or in problemID which is unique but bulky on firebase.
In mobileNumber it is easy to get complaints of a user by mobile number but in problemID it can not be able to get all by mobile number.
Also I wanted to make any method which stores (Complaint ID, Status_Of_Complaint) and continue in a tag HelpByUser in mobileNumber bucket in Dashboard Parent bucket which contains all helps taken by user, which stores text like this
(Complaint1, Resolved, "resolution given by admin"),
(Complaint2, InProgress),
(Complaint3, Not Resolved, "reason given by admin"),
(Complaint4, InProgress)
Status_Of_Complaint = Resolved, Not Resolved, In Progress
In the admin panel I want all problemID which stored in child bucket mobileNumber.
Means all Status_Of_Complaint with user mobile number and ProblemId and Help or Complaint asked by user,
In a one column or in one item of the customListView