Model/Job.php
public function setStatus(Status $status)
    {
        $this->status = $status->getValue();
        $this->enumStatus = $status;
    }
public function setStatus(Status $status)
    {
        $this->status = $status->getValue();
        $this->enumStatus = $status;
    }
{@inheritdoc}