for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class FormField extends Model
{
use SoftDeletes;
Illuminate\Database\Eloquent\SoftDeletes
$forceDeleting
App\Models\FormField
const TYPE_STRING = 1;
protected $connection = 'tenant';
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = ['recruitment_id', 'label', 'type', 'required'];
public function recruitment()
return $this->belongsTo(Recruitment::class);
}