demo/app/Modules/Peer/Models/Peer.php
2023-03-23 18:50:47 +01:00

43 lines
831 B
PHP

<?php
namespace LaraBB\Peer\Models;
use App\Traits\Uuid;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;
/**
* Class Peer
* @package LaraBB\Peer\Models
*
* @property int $id
* @property string $uuid
* @property Carbon $created_at
* @property string $created_uuid
* @property Carbon $updated_at
* @property string $updated_uuid
* @property string $peer_id
* @property string $torrent_uuid
* @property float $bytes
* @property string $ip
* @property int $port
* @property string $status
* @property bool $natuser
* @property string $client
* @property string $dns
* @property int $uploaded
* @property int $downloaded
* @property string $compact
*/
class Peer extends Model
{
use Uuid;
protected $table = 'peers';
/**
* @var string
*/
protected $primaryKey = 'uuid';
}