I have a site in which I have customers and operators. Both need to be registered. The customer is derived from IdentityUser and is extended with all kind of customer information fields like address and birthdate. For the operator I need completely different information, for example department.
First I had an ApplicationUser object (derived from IdentityUser), a Customer object with a reference to the ApplicationUser object (1:1 relationship, not enforced) and a Operator object also with a reference to the ApplicationUser object.
I am wondering if this is the correct way. I wondered if it is not possible to have an CustomerUser object derived from IdentityUser and a OperatorUser object also derived from IdentityUser.
Basically the question is how to handle several types of users in an MVC6 ASPNet5 application using AspNet Identity. I specifically am not looking on how to use roles as that will still does not answer on how to handle the different properties set.