# Referral Model path: `/referral ` this app is mainly for tracking referral by users and influencer ## Models ### Code model instances are either auto-generated based per user, or created by admin from admin user ### Redemption - a **foreign key** relation to Code model, indicating the referrer - a **one-to-one** relation to whom is being referred, null-able. not all referral is subject to user. homepage transaction or successful link click can also be counted as referral each instance correspond to one referral.