gamonoid / icehrm

Manage your employees easily with a robust and efficient Human Resource Management System
http://icehrm.com
Other
601 stars 379 forks source link

Enum vs Table #317

Open ChKaEs opened 2 years ago

ChKaEs commented 2 years ago

Any field that would have three or more options really should be from a table rather than enum, Gender and Marital Status included. I have tried switching to table and have also tried changing the enum values with all occurrences in the code, and the API still uses the old enum values. There are no clear steps provided to change these and different companies/countries recognize different options. Using a table of values would be much easier and more flexible.