1
0

HashtagRelated.php 491 B

123456789101112131415161718192021222324
  1. <?php
  2. namespace App\Models;
  3. use Illuminate\Database\Eloquent\Factories\HasFactory;
  4. use Illuminate\Database\Eloquent\Model;
  5. class HashtagRelated extends Model
  6. {
  7. use HasFactory;
  8. protected $guarded = [];
  9. /**
  10. * The attributes that should be mutated to dates and other custom formats.
  11. *
  12. * @var array
  13. */
  14. protected $casts = [
  15. 'related_tags' => 'array',
  16. 'last_calculated_at' => 'datetime',
  17. 'last_moderated_at' => 'datetime',
  18. ];
  19. }