DealerWalletAction::class, ]; /** * @var array */ protected $fillable = [ 'user_id', 'loggable_id', 'loggable_type', 'action', 'before_balance', 'change_balance', 'remarks', ]; /** * 此余额日志关联的用户 */ public function user() { return $this->belongsTo(User::class); } }