AuthGroupAccess.php 653 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. declare (strict_types=1);
  3. namespace Ycbl\AdminAuth\Model;
  4. use Hyperf\DbConnection\Model\Model;
  5. /**
  6. * @property int $uid
  7. * @property int $group_id
  8. */
  9. class AuthGroupAccess extends Model
  10. {
  11. /**
  12. * The table associated with the model.
  13. *
  14. * @var string
  15. */
  16. protected $table = 'auth_group_access';
  17. public $timestamps = false;
  18. /**
  19. * The attributes that are mass assignable.
  20. *
  21. * @var array
  22. */
  23. protected $fillable = [];
  24. /**
  25. * The attributes that should be cast to native types.
  26. *
  27. * @var array
  28. */
  29. protected $casts = ['uid' => 'integer', 'group_id' => 'integer'];
  30. }