presseportale/dev/Models/PressReleaseImage.php
Kevin Adametz 405df0a122
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
first commit
2025-10-20 17:53:02 +02:00

59 lines
2 KiB
PHP

<?php
/**
* Created by Reliese Model.
*/
namespace App\Models;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;
/**
* Class PressReleaseImage
*
* @property int $id
* @property string $title
* @property string $description
* @property string $image
* @property string $copyright
* @property int|null $press_release_id
* @property int|null $is_preview_image
* @property Carbon|null $created_at
* @property Carbon|null $updated_at
* @property string|null $slug
* @package App\Models
* @method static \Illuminate\Database\Eloquent\Builder|PressReleaseImage newModelQuery()
* @method static \Illuminate\Database\Eloquent\Builder|PressReleaseImage newQuery()
* @method static \Illuminate\Database\Eloquent\Builder|PressReleaseImage query()
* @method static \Illuminate\Database\Eloquent\Builder|PressReleaseImage whereCopyright($value)
* @method static \Illuminate\Database\Eloquent\Builder|PressReleaseImage whereCreatedAt($value)
* @method static \Illuminate\Database\Eloquent\Builder|PressReleaseImage whereDescription($value)
* @method static \Illuminate\Database\Eloquent\Builder|PressReleaseImage whereId($value)
* @method static \Illuminate\Database\Eloquent\Builder|PressReleaseImage whereImage($value)
* @method static \Illuminate\Database\Eloquent\Builder|PressReleaseImage whereIsPreviewImage($value)
* @method static \Illuminate\Database\Eloquent\Builder|PressReleaseImage wherePressReleaseId($value)
* @method static \Illuminate\Database\Eloquent\Builder|PressReleaseImage whereSlug($value)
* @method static \Illuminate\Database\Eloquent\Builder|PressReleaseImage whereTitle($value)
* @method static \Illuminate\Database\Eloquent\Builder|PressReleaseImage whereUpdatedAt($value)
* @mixin \Eloquent
*/
class PressReleaseImage extends Model
{
protected $table = 'press_release_image';
protected $casts = [
'press_release_id' => 'int',
'is_preview_image' => 'int'
];
protected $fillable = [
'title',
'description',
'image',
'copyright',
'press_release_id',
'is_preview_image',
'slug'
];
}