Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task Request Model #18

Open
vinayak-trivedi opened this issue Dec 27, 2022 · 2 comments · May be fixed by #22
Open

Task Request Model #18

vinayak-trivedi opened this issue Dec 27, 2022 · 2 comments · May be fixed by #22
Assignees

Comments

@vinayak-trivedi
Copy link
Member

vinayak-trivedi commented Dec 27, 2022

We need a task request model which will help us in allowing the user to create requests for tasks, and the superuser can approve these task requests and those tasks will be assigned to them, following is the suggested data model for that, @ankushdharkar please let me know if I should change anything

{
  createdAt: Timestamp,
  userId: String,
  userName: String,
  taskId: String,
  taskCategory: String,
  taskLevel: number,
  taskTitle: String,
  taskPurpose: String,
}
@vinayak-trivedi vinayak-trivedi self-assigned this Dec 27, 2022
@vinayak-trivedi
Copy link
Member Author

As per the discussion with ankush, we do not need to repeat all the data like taskPurpose, taskTitle etc, we can just store a task id and based on that we can get all the data from other collection

@TanishqSingla
Copy link

As per the discussions I want to propose this task request model

id: <id>,
taskId: <id>,
title: string,
requestedBy:  [string],
purpose: string,
type: string,
isNoteWorthy: boolean,
currentStatus: string,
approvedTo?: string,

@TanishqSingla TanishqSingla linked a pull request Mar 4, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants