<?php

// No direct access.
defined('_JEXEC') or die;

class CommonClubsModelOfferassoc extends AbstractCommonClubsModel
{
    protected function getFactory()
    {
        return new CommonClubsModelFactoryOfferassoc();
    }
    
    /**
     * 
     * @return CommonClubsModelClub
     */
    public function getClub()
    {
        return $this->getValues()['club'];
    }
    
    /**
     * 
     * @param CommonClubsModelClub $club
     */
    public function setClub($club)
    {
        $this->setValue('club', $club);
    }
    
    /**
     * 
     * @return CommonClubsModelOffer
     */
    public function getOffer()
    {
        return $this->getValues()['offer'];
    }
    
    /**
     * 
     * @param CommonClubsModelOffer $offer
     */
    public function setOffer($offer)
    {
        $this->setValue('offer', $offer);
    }
    
}