'string', 'value' => 'string', 'source' => 'integer', ]; /** * Validation rules * * @var array */ public static $rules = [ 'name' => 'required', ]; /** * Foreign Keys */ public function pirep() { return $this->belongsTo('App\Models\Pirep', 'pirep_id'); } }