34 lines
591 B
PHP
34 lines
591 B
PHP
<?php
|
|
|
|
|
|
|
|
namespace app\common\model\store\platformCommission;
|
|
|
|
use app\common\model\BaseModel;
|
|
use app\common\model\user\User;
|
|
|
|
class WeightValueLog extends BaseModel{
|
|
public static function tablePk():string{
|
|
return 'id';
|
|
}
|
|
public static function tableName():string{
|
|
return 'platform_commission_weight_value_log';
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Common: 关联用户表
|
|
* Author: wu-hui
|
|
* Time: 2023/12/26 17:13
|
|
* @return \think\model\relation\HasOne
|
|
*/
|
|
public function user(){
|
|
return $this->hasOne(User::class, 'uid', 'uid');
|
|
}
|
|
}
|