Ad.php 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?php
  2. declare(strict_types=1);
  3. namespace App\Model;
  4. /**
  5. * @property int $id
  6. * @property string $name
  7. * @property int $pid
  8. * @property int $areaid
  9. * @property string $amount
  10. * @property string $introduce
  11. * @property int $hits
  12. * @property string $admin_user_id
  13. * @property string $fromtime
  14. * @property string $totime
  15. * @property string $text_name
  16. * @property string $text_url
  17. * @property string $text_title
  18. * @property string $image_src
  19. * @property string $image_url
  20. * @property string $image_alt
  21. * @property string $video_src
  22. * @property string $video_url
  23. * @property int $video_auto
  24. * @property int $video_loop
  25. * @property int $status
  26. * @property string $remark
  27. * @property \Carbon\Carbon $created_at
  28. * @property \Carbon\Carbon $updated_at
  29. */
  30. class Ad extends Model
  31. {
  32. /**
  33. * The table associated with the model.
  34. */
  35. protected ?string $table = 'ad';
  36. /**
  37. * The attributes that are mass assignable.
  38. */
  39. protected array $fillable = [];
  40. /**
  41. * The attributes that should be cast to native types.
  42. */
  43. protected array $casts = ['id' => 'integer', 'pid' => 'integer', 'areaid' => 'integer', 'hits' => 'integer', 'video_auto' => 'integer', 'video_loop' => 'integer', 'status' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime'];
  44. }