diff --git a/app/Models/CarShowCategory.php b/app/Models/CarShowCategory.php index e94defe..b562084 100644 --- a/app/Models/CarShowCategory.php +++ b/app/Models/CarShowCategory.php @@ -7,6 +7,8 @@ use Illuminate\Database\Eloquent\Model; class CarShowCategory extends Model { protected $table = 'car_show_categories'; + protected static ?string $recordTitleAttribute = 'category_name'; + protected $fillable = [ 'category_name', 'vehicle_type'