feat: 구독/결제 API 확장 (Plan, Subscription, Payment)

- Plan/Subscription/Payment 모델에 상태 상수, 스코프, 헬퍼 메서드 추가
- PlanService, SubscriptionService, PaymentService 생성
- PlanController, SubscriptionController, PaymentController 생성
- FormRequest 9개 생성 (Plan 3개, Subscription 3개, Payment 3개)
- Swagger 문서 3개 생성 (PlanApi, SubscriptionApi, PaymentApi)
- API 라우트 22개 등록 (Plan 7개, Subscription 8개, Payment 7개)
- Pint 코드 스타일 정리
This commit is contained in:
2025-12-18 16:20:29 +09:00
parent 7278c4742f
commit 45780ea351
35 changed files with 3025 additions and 29 deletions

View File

@@ -4,10 +4,10 @@
use App\Exports\DailyReportExport;
use App\Exports\ExpenseEstimateExport;
use App\Helpers\ApiResponse;
use App\Http\Controllers\Controller;
use App\Http\Requests\V1\Report\DailyReportRequest;
use App\Http\Requests\V1\Report\ExpenseEstimateRequest;
use App\Helpers\ApiResponse;
use App\Services\ReportService;
use Maatwebsite\Excel\Facades\Excel;