*/ protected $fillable = [ 'type', 'submissions' ]; /** * The attributes that should be cast. * * @var array */ protected $casts = [ 'type' => ContactFormType::class, ]; }