Files
ladill-meet/app/Models/FileDownload.php
T
isaaccladandCursor 965fb992e9
Deploy Ladill Meet / deploy (push) Failing after 7s
Initial Ladill Meet release.
Phases 0–18: core meetings, webinar, breakouts, team chat, live streaming, town hall, billing, and Ladill Mail calendar wiring.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-30 23:35:29 +00:00

28 lines
600 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
class FileDownload extends Model
{
public $timestamps = false;
protected $table = 'meet_file_downloads';
protected $fillable = [
'session_file_id', 'downloaded_by_ref', 'downloaded_by_name', 'ip_address', 'downloaded_at',
];
protected function casts(): array
{
return ['downloaded_at' => 'datetime'];
}
public function file(): BelongsTo
{
return $this->belongsTo(SessionFile::class, 'session_file_id');
}
}