*/ use HasFactory; /** * Indicates If The Model Should Be Timestamped. * * @var bool */ public $timestamps = false; /** * The attributes that aren't mass assignable. * * @var string[] */ protected $guarded = ['id', 'created_at', 'updated_at']; /** * Has Many Torrents. * * @return \Illuminate\Database\Eloquent\Relations\HasMany */ public function torrents(): \Illuminate\Database\Eloquent\Relations\HasMany { return $this->hasMany(Torrent::class); } /** * Has Many Torrent Requests. * * @return \Illuminate\Database\Eloquent\Relations\HasMany */ public function requests(): \Illuminate\Database\Eloquent\Relations\HasMany { return $this->hasMany(TorrentRequest::class); } }