Models Overview
FluentAffiliate uses an Eloquent-like ORM (WPFluent Framework). All models extend FluentAffiliate\Framework\Database\Orm\Builder.
| Model | Table | Description |
|---|---|---|
Affiliate | fa_affiliates | Represents a registered affiliate. Central model in FluentAffiliate. |
Referral | fa_referrals | Represents a commission event generated when a referred visitor completes a qualifying action. |
Payout | fa_payouts | A payout batch grouping multiple affiliate transactions. |
Transaction | fa_payout_transactions | An individual payout transaction for a single affiliate within a payout batch. |
Visit | fa_visits | Tracks each click of an affiliate referral link. |
Customer | fa_customers | A customer who made a purchase through an affiliate link. |
Meta | fa_meta | Generic key-value meta storage for affiliate and other objects. |
Creative | fa_creatives | A marketing creative asset (banner, image, or text) managed in FluentAffiliate Pro. PRO |