ldc-volena/app/Models/JobVideo.php

35 lines
899 B
PHP
Raw Permalink Normal View History

2023-11-16 09:42:21 +01:00
<?php
namespace App\Models;
2024-03-05 12:21:04 +01:00
use App\Traits\Models\ActivityLog;
2023-11-16 09:42:21 +01:00
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
/**
* @property string $title Title.
* @property string $place Place of the video.
* @property string $video_id Id of the Youtube video.
* @property-read \Carbon\Carbon $created_at Created date.
* @property-read \Carbon\Carbon $updated_at Updated date.
2024-03-05 12:21:04 +01:00
*
* @property-read \App\Models\ActivityLog $activityLogs Activities logs One-to-many relationship.
2023-11-16 09:42:21 +01:00
*/
class JobVideo extends Model
{
2024-03-05 12:21:04 +01:00
use ActivityLog;
/** @use HasFactory<\Database\Factories\JobVideoFactory> */
2023-11-16 09:42:21 +01:00
use HasFactory;
/**
* The attributes that are mass assignable.
*
* @var list<string>
2023-11-16 09:42:21 +01:00
*/
protected $fillable = [
'title',
'place',
'video_id',
];
}