Recherche des tweets de réponse avec l'API Tweeter

This commit is contained in:
hugol
2024-11-17 13:55:25 +01:00
parent 3d386178bf
commit 8dc18553ec
1751 changed files with 379552 additions and 0 deletions

26
app/Models/Contest.php Normal file
View File

@@ -0,0 +1,26 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Contest extends Model
{
use HasFactory;
protected $guarded = [];
protected $casts = [
'fin' => 'date',
];
public function category()
{
return $this->belongsTo(Category::class);
}
public function organizer()
{
return $this->belongsTo(Organizer::class);
}
}