<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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