love_php/app/Models/Score/CashoutLog.php
2026-04-02 09:20:51 +08:00

20 lines
441 B
PHP

<?php
namespace App\Models\Score;
use App\Models\MerchantAccount;
use Illuminate\Database\Eloquent\Model;
class CashoutLog extends Model
{
protected $guarded = [];
public function RedAnswer(){
return $this->hasMany('Red\RedAnswer');
}
public function account(){
return $this->hasOne(MerchantAccount::class,'id','merchant_id')->select('id','mobile','alipay_account','alipay_real_name','openid');
}
}