AdPlace.php 684 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <?php
  2. declare(strict_types=1);
  3. namespace App\Model;
  4. use Hyperf\DbConnection\Model\Model;
  5. /**
  6. */
  7. class AdPlace extends Model
  8. {
  9. /**
  10. * The table associated with the model.
  11. */
  12. protected ?string $table = 'ad_place';
  13. /**
  14. * The attributes that are mass assignable.
  15. */
  16. protected array $fillable = [
  17. 'website_id',
  18. 'typeid',
  19. 'status',
  20. 'name',
  21. 'thumb',
  22. 'introduce',
  23. 'ad_tag',
  24. 'code',
  25. 'price',
  26. 'ad_size_id',
  27. ];
  28. /**
  29. * The attributes that should be cast to native types.
  30. */
  31. protected array $casts = [];
  32. }