Add (keyword model)

This commit is contained in:
2023-11-23 00:42:38 +08:00
parent f7d4a982e0
commit 7239b7e9ae
7 changed files with 218 additions and 12 deletions

View File

@@ -27,6 +27,7 @@
* @property string|null $metadata
* @property string|null $bites
* @property string|null $keyword_list
* @property bool $keyword_saved
* @property string|null $impact
* @property string $impact_level
* @property Carbon $published_at
@@ -45,6 +46,7 @@ class RssPost extends Model implements Feedable
'metadata' => 'object',
'keywords' => 'array',
'entities' => 'array',
'keyword_saved' => 'boolean',
];
protected $fillable = [
@@ -64,6 +66,7 @@ class RssPost extends Model implements Feedable
'impact_level',
'published_at',
'status',
'keyword_saved',
];
public function category()