暂无描述

Role.php 217B

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