*/ protected $allowedFields = [ 'name', 'phone_number', ]; /** * Attributes that should be cast to specific types * * @var array */ protected $casts = [ 'id' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime', ]; }