*/ use HasFactory; /** * @return array */ protected function casts(): array { return [ 'type' => CustomerType::class, ]; } }