Files
hyperf_service/app/Model/Suggest.php
2025-04-10 10:23:00 +08:00

35 lines
718 B
PHP

<?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'];
}