Hi Guys,

I have the following problem:

entity: taxrate
id: 1
rate: 2.20
whitelistcountry: []
blacklistcountry: []

entity: country
id: 1
iso: USA

how to associate country multiple times whit taxrates table?

the end result will be something like this:

$taxRate = new taxrates();
$taxRate->getRate();
$taxRate->getWhiltelistcountry();
$taxRate->getBlacklistcountry();

I tought maybe i can use another entity

taxrate_country
id: 1
taxrate_id: 2
country_id: 1
type: ENUM(blacklist, whitelist) (!) but how tell doctrine to use this 
field? 


-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to