Proje: Okul Platform · Hub: Okul Platform — Domain

Activity Log Nedir?

Admin eylemlerinin izlenmesi için kayıt sistemi. ActivityLog modeli + ActivityLogService.

ActivityLogActionType (Eylemler)

Log In / Log Out / Register
Approve Comment / Decline Comment / Delete Comment
Update / Delete / Create / Created / Updated / Deleted
Deactivate User / Activate User
Show Home Status
Register With Offer / Register With LeadPool / Register With School Comment
Sorting / Redirect
create_note / edit_note / delete_note
Renew Info View
lead-excel-export / agreement-excel-export / school-interactions-excel-export
Activate Meta Setting
Merged

ActivityLogContentType (İçerik Tipleri)

Users, School Comments, Services, Article Categories, Articles
Activities, Facilities, Schools, School Franchises, Meta Settings
Article Comments, Locations, Learning Languages, School Notes
Customer Schools, Colleges, Redirect Url
Customer Users, Customers, Leads, Agreements, School Interaction

PlatformType (Platform Ayrımı)

API çağrısının nereden geldiğini belirtir:

web       → Frontend (veli/öğrenci)
crm       → CRM admin panel
customer  → B2B okul portal
swagger-ui → Swagger UI test

Her platform’un token’ı config('consumer.xxx') üzerinden alınır. Bu muhtemelen API gateway veya middleware’de kullanılıyor.

SectorType

1 = STATE (Devlet)
2 = PRIVATE (Özel)

FeeType

app/Enums/FeeType.php — Ücret türleri

SchoolContentType

app/Enums/SchoolContentType.php — Okul içerik türleri (announcement, achievement, event)

SchoolFeatureNameType

app/Enums/SchoolFeatureNameType.php — Okul özellik adı türleri