public function fill(array $input, bool $force = false)
{
foreach ($input as $key => $value) {
if ($force) {
$this->setAttribute($key, $value);
continue;
}
if ((empty($this->fillable) || in_array($key, $this->fillable)) && !in_array($key, $this->guarded)) {
$this->setAttribute($key, $value);
}
}
}