SystemMenu.php 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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 $descs
  13. * @property string $icon
  14. * @property integer $status
  15. * @property integer $sort
  16. * @property integer $is_used
  17. * @property integer $is_mch 1代理2门店
  18. */
  19. class SystemMenu extends Model
  20. {
  21. /**
  22. * The connection name for the model.
  23. *
  24. * @var string|null
  25. */
  26. protected $connection = 'mysql';
  27. /**
  28. * The table associated with the model.
  29. *
  30. * @var string
  31. */
  32. protected string $table = "system_menu";
  33. /**
  34. * The primary key associated with the table.
  35. *
  36. * @var string
  37. */
  38. protected string $primaryKey = "id";
  39. /**
  40. * Indicates if the model should be timestamped.
  41. *
  42. * @var bool
  43. */
  44. public bool $timestamps = false;
  45. }