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

Help Model #4

Closed
psantos10 opened this issue Mar 30, 2020 · 5 comments · Fixed by #12
Closed

Help Model #4

psantos10 opened this issue Mar 30, 2020 · 5 comments · Fixed by #12
Assignees

Comments

@psantos10
Copy link
Owner

psantos10 commented Mar 30, 2020

Fields:

  • Help Type
  • Title
  • Description
  • Fullname
  • Email
  • Phone number
  • Alternative phone number
  • Province
  • County (Munícipio)
  • District
  • Neighborhood
  • Street
  • Number
  • Status (pending, active, inactive, deleted)
@JoseCage
Copy link
Collaborator

Help Type was already defined?

I mean, the source, the data type, etc.

@psantos10
Copy link
Owner Author

Help Type was already defined?

I mean, the source, the data type, etc.

Well, we can create a constant with a list of the following types:

  • donation_food_clothes
  • donation_medicines_gloves_alcogol_gel_masks
  • psychological_support
  • transport_to_or_from_hospital
  • going_to_shop_or_farmacy
  • other

What do you think?

@JoseCage
Copy link
Collaborator

Help Type was already defined?
I mean, the source, the data type, etc.

Well, we can create a constant with a list of the following types:

  • donation_food_clothes
  • donation_medicines_gloves_alcogol_gel_masks
  • psychological_support
  • transport_to_or_from_hospital
  • going_to_shop_or_farmacy
  • other

What do you think?

Sounds good for me. But i think this data need to be saved in DB. In case we need to change or add another one. 🤔

@psantos10
Copy link
Owner Author

Since it's limited number os types.. and again.. the idea is to go fast with an MVP... we can go with this option. For the next versions... we can analyze if we really need a table for it or just keep it like that.

@psantos10
Copy link
Owner Author

I will then add the constant

psantos10 added a commit that referenced this issue Mar 30, 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

Successfully merging a pull request may close this issue.

2 participants