add element youtube url

This commit is contained in:
Yisroel Baum 2026-05-27 20:37:45 +03:00
parent f9c4d72e60
commit ff58f23bb7
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
10 changed files with 27 additions and 0 deletions

View file

@ -12,6 +12,7 @@ use Illuminate\Database\Eloquent\Model;
* @property string $description
* @property string $rich_text
* @property string|null $pdf_path
* @property string|null $youtube_url
* @property int|null $parent_element_id
*
* @method static Builder<static>|ElementModel newModelQuery()
@ -24,6 +25,7 @@ use Illuminate\Database\Eloquent\Model;
* @method static Builder<static>|ElementModel whereDescription($value)
* @method static Builder<static>|ElementModel whereRichText($value)
* @method static Builder<static>|ElementModel wherePdfPath($value)
* @method static Builder<static>|ElementModel whereYoutubeUrl($value)
*
* @mixin \Eloquent
*/
@ -39,6 +41,7 @@ class ElementModel extends Model
'description',
'rich_text',
'pdf_path',
'youtube_url',
'parent_element_id',
];