Apmplied manual JWT check and restored all driver fields68j2

This commit is contained in:
Hamza-Ayed
2026-04-25 15:10:12 +03:00
parent 61212b60af
commit f535f7db1d

View File

@@ -19,5 +19,5 @@ class CarRegistration extends Model
protected $table = 'CarRegistration';
public $timestamps = false;
protected $fillable = ['driverID', 'vin', 'car_plate', 'make', 'model', 'year', 'expiration_date', 'color', 'owner', 'color_hex', 'fuel', 'isDefault', 'status', 'vehicle_category_id', 'fuel_type_id'];
public const ENCRYPTED_FIELDS = ['car_plate', 'owner'];
public const ENCRYPTED_FIELDS = ['car_plate', 'owner', 'vin'];
}