Transaction
is an object which may describe a recurring transaction (an object of it "says" such things as "we receive a $10 payment every month from this PayPal user").
Organization
is a customer which may pay us and in return receive some services. Currently one organization can receive max one service, but this may change in the future.
PricingPlan
is something like "Gold $20/month".
Purchase
links together a pricing plan with a transaction.
Note that we cannot (or can but with a hardship) add new fields to Transaction
model, because it is a part of a reusable module. The rest three models are under our complete control.
I need to make a relational DB structure from these four models.
I've drawn two possible relations between the models. Which of the two: the top one or the bottom one is more normal than the other?