Nenhuma Descrição

Permission.php 241B

1234567891011121314
  1. <?php namespace App;
  2. use Illuminate\Database\Eloquent\Model;
  3. class Permission extends Model
  4. {
  5. protected $table = "permission";
  6. public $timestamps = false;
  7. public function getPermission()
  8. {
  9. $this->belongToMany("App\Permission");
  10. }
  11. }