Files
memefast/app/Models/BackgroundMedia.php
2025-06-13 17:11:59 +08:00

50 lines
973 B
PHP

<?php
/**
* Created by Reliese Model.
*/
namespace App\Models;
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
use Pgvector\Laravel\Vector;
/**
* Class BackgroundMedia
*
* @property int $id
* @property string $list_type
* @property string $area
* @property string $location_name
* @property string $status
* @property uuid|null $media_uuid
* @property string|null $media_url
* @property Vector|null $embedding
* @property Carbon|null $created_at
* @property Carbon|null $updated_at
* @property string|null $deleted_at
*/
class BackgroundMedia extends Model
{
use SoftDeletes;
protected $table = 'background_medias';
protected $casts = [
'embedding' => Vector::class,
];
protected $fillable = [
'list_type',
'area',
'location_name',
'status',
'media_uuid',
'media_url',
'embedding',
'prompt',
];
}