model/affiliate_platform library