[积分商城]积分订单

This commit is contained in:
2026-03-18 19:20:48 +08:00
parent 64fb6d81c5
commit 16f84dce24
7 changed files with 378 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
<?php
namespace app\common\model;
use support\think\Model;
/**
* MallPintsOrder
*/
class MallPintsOrder extends Model
{
// 表名
protected $name = 'mall_pints_order';
// 自动写入时间戳字段
protected $autoWriteTimestamp = true;
public function mallUser(): \think\model\relation\BelongsTo
{
return $this->belongsTo(\app\common\model\MallUser::class, 'mall_user_id', 'id');
}
}