feat : suggest

This commit is contained in:
2025-04-10 10:23:00 +08:00
parent 2ef9eed4d7
commit 7b26a6cf6b
6 changed files with 282 additions and 0 deletions

34
app/Model/Suggest.php Normal file
View File

@@ -0,0 +1,34 @@
<?php
declare(strict_types=1);
namespace App\Model;
use Hyperf\DbConnection\Model\Model;
/**
* @property int $id
* @property int $category
* @property int $user_id
* @property string $content
* @property string $image_ids
* @property string $create_time
* @property string $update_time
*/
class Suggest extends Model
{
/**
* The table associated with the model.
*/
protected ?string $table = 'suggest';
/**
* The attributes that are mass assignable.
*/
protected array $fillable = [];
/**
* The attributes that should be cast to native types.
*/
protected array $casts = ['id' => 'integer', 'category' => 'integer', 'user_id' => 'integer'];
}