Rule.php 748 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. namespace plugin\admin\app\model;
  3. use plugin\admin\app\model\Base;
  4. /**
  5. * @property integer $id 主键(主键)
  6. * @property string $title 标题
  7. * @property string $icon 图标
  8. * @property string $key 标识
  9. * @property integer $pid 上级菜单
  10. * @property string $created_at 创建时间
  11. * @property string $updated_at 更新时间
  12. * @property string $href url
  13. * @property integer $type 类型
  14. * @property integer $weight 排序
  15. */
  16. class Rule extends Base
  17. {
  18. /**
  19. * The table associated with the model.
  20. *
  21. * @var string
  22. */
  23. protected $table = 'wa_rules';
  24. /**
  25. * The primary key associated with the table.
  26. *
  27. * @var string
  28. */
  29. protected $primaryKey = 'id';
  30. }