Brak opisu
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

RoleHasPermission.php 442B

1234567891011121314
  1. <?php
  2. namespace App\Model;
  3. use Illuminate\Database\Eloquent\Model;
  4. class RoleHasPermission extends Model
  5. {
  6. //protected $connection = 'connection-name'; //jika menggunakan 2 DB modelnya harus dikasih ini
  7. protected $table = 'role_has_permissions';
  8. protected $fillable = ['permission_id', 'role_id'];
  9. public $incrementing = false; //jika primary keynya string
  10. public $timestamps = false; //matiin created_at, updated_at
  11. }