AdminRole.php 534 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. namespace plugin\admin\app\model;
  3. use plugin\admin\app\model\Base;
  4. /**
  5. * @property integer $id ID(主键)
  6. * @property string $admin_id 管理员id
  7. * @property string $role_id 角色id
  8. */
  9. class AdminRole extends Base
  10. {
  11. /**
  12. * The table associated with the model.
  13. *
  14. * @var string
  15. */
  16. protected $table = 'wa_admin_roles';
  17. /**
  18. * The primary key associated with the table.
  19. *
  20. * @var string
  21. */
  22. protected $primaryKey = 'id';
  23. public $timestamps = false;
  24. }