<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for OtherNameCategorySearch StructType
 * @subpackage Structs
 */
class OtherNameCategorySearch extends SearchRecord
{
    /**
     * The basic
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\OtherNameCategorySearchBasic
     */
    public $basic;
    /**
     * The userJoin
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var \StructType\EmployeeSearchBasic
     */
    public $userJoin;
    /**
     * Constructor method for OtherNameCategorySearch
     * @uses OtherNameCategorySearch::setBasic()
     * @uses OtherNameCategorySearch::setUserJoin()
     * @param \StructType\OtherNameCategorySearchBasic $basic
     * @param \StructType\EmployeeSearchBasic $userJoin
     */
    public function __construct(\StructType\OtherNameCategorySearchBasic $basic = null, \StructType\EmployeeSearchBasic $userJoin = null)
    {
        $this
            ->setBasic($basic)
            ->setUserJoin($userJoin);
    }
    /**
     * Get basic value
     * @return \StructType\OtherNameCategorySearchBasic|null
     */
    public function getBasic()
    {
        return $this->basic;
    }
    /**
     * Set basic value
     * @param \StructType\OtherNameCategorySearchBasic $basic
     * @return \StructType\OtherNameCategorySearch
     */
    public function setBasic(\StructType\OtherNameCategorySearchBasic $basic = null)
    {
        $this->basic = $basic;
        return $this;
    }
    /**
     * Get userJoin value
     * @return \StructType\EmployeeSearchBasic|null
     */
    public function getUserJoin()
    {
        return $this->userJoin;
    }
    /**
     * Set userJoin value
     * @param \StructType\EmployeeSearchBasic $userJoin
     * @return \StructType\OtherNameCategorySearch
     */
    public function setUserJoin(\StructType\EmployeeSearchBasic $userJoin = null)
    {
        $this->userJoin = $userJoin;
        return $this;
    }
}
