You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should define a list of PersonTypes that will be in the system. If we are going to use these PersonTypes for authorization then I think we should implement an enum-like structure for our PersonType entity. We could define the types first then store them within the PersonType entity. This is an example with 'Volunteer', 'Employee' and 'Manager':
We should define a list of PersonTypes that will be in the system. If we are going to use these PersonTypes for authorization then I think we should implement an enum-like structure for our PersonType entity. We could define the types first then store them within the PersonType entity. This is an example with 'Volunteer', 'Employee' and 'Manager':
and then say we need to get all people that have the 'Manager' PersonType, we can use something like the following
The text was updated successfully, but these errors were encountered: