User.php 565 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. declare(strict_types=1);
  3. namespace App\Model;
  4. use Hyperf\DbConnection\Model\Model;
  5. /**
  6. */
  7. class User extends Model
  8. {
  9. /**
  10. * The table associated with the model.
  11. */
  12. protected ?string $table = 'user';
  13. /**
  14. * The attributes that are mass assignable.
  15. */
  16. // protected array $fillable = ["user_name","avatar","status","email","rong_token"];
  17. // protected array $hidden = [];
  18. protected array $fillable = [];
  19. /**
  20. * The attributes that should be cast to native types.
  21. */
  22. protected array $casts = [];
  23. }