Answer the question
In order to leave comments, you need to log in
I design an ER-model of IS. How to link three IDs of different user roles in one USERS entity attribute?
I am designing an ER model of an information system, there are entities by roles: Admins, Customers, Performers - each has its own identifiers. How to connect them into one USERS entity, where there are also attributes: Password, Reg_date, Acc_type - password, registration date, account type? Add an id_user attribute at the end of each table entity, and is it already a key in USERS? More ways?
Answer the question
In order to leave comments, you need to log in
I can be wrong, because. I don’t know the details of the TOR, but the term “Role” suggests the entity “Role” which has the attribute “Role” with possible values “Admins”, “Customers”, “Contractors”
If the relationship is 1 to 1, then you can link the group ID with the field to the user, if there can be more than 1 groups, then through a separate link table where there will be user 1 group 1 user 1 group 2
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question