<?php

namespace LaraBB\Torrent\Models;

use App\Traits\Uuid;
use App\Traits\Who;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;
use LaraBB\User\Models\User;

/**
 * Class Torrent
 * @package PerfectPurple\Models
 *
 * @property int $id
 * @property string $uuid
 * @property Carbon $created_at
 * @property string $created_uuid
 * @property User $created_by
 * @property Carbon $updated_at
 * @property string $updated_uuid
 * @property User $updated_by
 * @property string $infohash
 * @property string $name
 * @property string $filename
 * @property int $size
 * @property int $seeder
 * @property int $leecher
 * @property int $finished
 */
class Torrent extends Model
{
    use Uuid;
    use Who;

    protected $table = 'users_torrents';
    protected $primaryKey = 'uuid';
}
