Update
This commit is contained in:
48
app/Models/BackgroundMedia.php
Normal file
48
app/Models/BackgroundMedia.php
Normal file
@@ -0,0 +1,48 @@
|
||||
<?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',
|
||||
];
|
||||
}
|
||||
@@ -26,7 +26,7 @@
|
||||
* @property uuid|null $media_2_uuid
|
||||
* @property string $media_1_mime_type
|
||||
* @property string|null $media_2_mime_type
|
||||
* @property USER-DEFINED|null $embedding
|
||||
* @property Vector|null $embedding
|
||||
* @property Carbon|null $created_at
|
||||
* @property Carbon|null $updated_at
|
||||
* @property string|null $deleted_at
|
||||
|
||||
Reference in New Issue
Block a user