operator_id = Auth::user()->ope_id ?? null; } }); } /** * 利用者取得(旧互換) */ public function getUser() { return $this->belongsTo(User::class, 'user_id', 'user_seq')->first(); } /** * 駐輪場取得(旧互換) */ public function getPark() { return $this->belongsTo(Park::class, 'park_id', 'park_id')->first(); } }