feat : order list

This commit is contained in:
2025-04-07 17:45:42 +08:00
parent 624e46e152
commit 5e18a83065
7 changed files with 445 additions and 0 deletions

42
app/Model/Evaluation.php Normal file
View File

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