feature: keep sidebar and add service layer

This commit is contained in:
antv
2026-06-30 11:59:34 +07:00
parent 8a77324f89
commit c5016489ac
54 changed files with 1181 additions and 284 deletions
@@ -0,0 +1,17 @@
<?php
namespace App\Services\User\Contracts;
use App\Models\User;
use Illuminate\Pagination\LengthAwarePaginator;
interface UserServiceInterface
{
public function getDashboard(User $user, string $selectedMonth): LengthAwarePaginator;
public function getOtherActiveUsers(User $currentUser): \Illuminate\Database\Eloquent\Collection;
public function sendThankcards(User $sender, string $receiverMsnv, int $amount): void;
public function updatePassword(User $user, string $newPassword): void;
}