AuthGroup.php 732 B

123456789101112131415161718192021222324252627282930313233343536
  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 $name
  9. * @property string $rules
  10. * @property int $status
  11. */
  12. class AuthGroup extends Model
  13. {
  14. /**
  15. * The table associated with the model.
  16. *
  17. * @var string
  18. */
  19. protected $table = 'auth_group';
  20. public $timestamps = false;
  21. /**
  22. * The attributes that are mass assignable.
  23. *
  24. * @var array
  25. */
  26. protected $fillable = [];
  27. /**
  28. * The attributes that should be cast to native types.
  29. *
  30. * @var array
  31. */
  32. protected $casts = ['id' => 'integer', 'pid' => 'integer', 'status' => 'integer'];
  33. }