Discount codes for each seller

Allow seller to post discount codes for their products and that will only apply to their product at check out.
example:
SallerA will have the code SA-01hd31
SellerB wil have the code SB-hds23ha
example:
SallerA will have the code SA-01hd31
SellerB wil have the code SB-hds23ha