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

Create PantryItem API #5

Open
iisisrael opened this issue May 18, 2020 · 0 comments
Open

Create PantryItem API #5

iisisrael opened this issue May 18, 2020 · 0 comments

Comments

@iisisrael
Copy link
Contributor

PantryItem records need an API...

  • A PantryItem defines the parameters of a food or product that can be provided to a Client or Household during a ServicePantry event
  • The actual food or product that is provided, a ServicePantryItem, is created from a PantryItem, like a template or default, then the ServicePantryItem can be adjusted to the use case
    ** For example, a PantryItem record is named "Rice" with a default size of 1 LB
    ** A ServicePantry record is created for Client Jane Doe when she arrives for a food give-out
    ** A ServicePantryItem is created from the "Rice" PantryItem, renamed "Rice Pack", updated to 5 LBS, and associated with the ServicePantry record (the PantryItem record does not change)
  • PantryItem records should be allowed to be updated at any time, as they are not historical event records
@iisisrael iisisrael assigned iisisrael and unassigned iisisrael May 24, 2020
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

No branches or pull requests

1 participant