Open kriss-u opened 6 years ago
seller cannot be a buyer.
in any scenario or some specific products? Basically, we can set a seller but a seller can buy some things from another seller (not necessarily required feature). But if you are trying to make it strict, create an entity and use discriminator values as in our dbms project. You might not find the same in auction project though.
Not talking about the implementation details, how exactly are you considering using roles. Can a seller be a buyer, i.e. is it user specific or transaction specific?