SystemMenu.php 1020 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <?php
  2. namespace app\model\system;
  3. use app\extra\basic\Model;
  4. /**
  5. * @property integer $id (主键)
  6. * @property integer $from 1管理后台2代理
  7. * @property integer $pid
  8. * @property string $name
  9. * @property string $path
  10. * @property string $title
  11. * @property string $type
  12. * @property string $icon
  13. * @property integer $status
  14. * @property integer $sort
  15. * @property mixed $create_at
  16. */
  17. class SystemMenu extends Model
  18. {
  19. /**
  20. * The connection name for the model.
  21. *
  22. * @var string|null
  23. */
  24. protected $connection = 'mysql';
  25. /**
  26. * The table associated with the model.
  27. *
  28. * @var string
  29. */
  30. protected string $table = "system_menu";
  31. /**
  32. * The primary key associated with the table.
  33. *
  34. * @var string
  35. */
  36. protected string $primaryKey = "id";
  37. /**
  38. * Indicates if the model should be timestamped.
  39. *
  40. * @var bool
  41. */
  42. public bool $timestamps = false;
  43. }