'integer', 'tenant_id' => 'integer', 'role_id' => 'integer', 'assigned_at' => 'datetime', ]; /** * 사용자 */ public function user(): BelongsTo { return $this->belongsTo(User::class); } /** * 역할 */ public function role(): BelongsTo { return $this->belongsTo(Role::class); } }