AuthRule.php 909 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. declare (strict_types=1);
  3. namespace Ycbl\AdminAuth\Model;
  4. use Hyperf\DbConnection\Model\Model;
  5. /**
  6. * @property int $id
  7. * @property int $pid
  8. * @property string $path
  9. * @property string $auth
  10. * @property string $title
  11. * @property string $icon
  12. * @property string $remark
  13. * @property int $ismenu
  14. * @property int $weigh
  15. * @property int $status
  16. */
  17. class AuthRule extends Model
  18. {
  19. /**
  20. * The table associated with the model.
  21. *
  22. * @var string
  23. */
  24. protected $table = 'auth_rule';
  25. public $timestamps = false;
  26. /**
  27. * The attributes that are mass assignable.
  28. *
  29. * @var array
  30. */
  31. protected $fillable = [];
  32. /**
  33. * The attributes that should be cast to native types.
  34. *
  35. * @var array
  36. */
  37. protected $casts = ['id' => 'integer', 'pid' => 'integer', 'ismenu' => 'integer', 'weigh' => 'integer', 'status' => 'integer'];
  38. }