feat: Face ID (scan, register, liveness) + role baru KS/Waka/Ketua Tim + notifikasi WA ortu + scoping wali kelas + error pages premium

This commit is contained in:
Novy San87
2026-08-02 20:57:11 +07:00
parent 0a5f471854
commit 6e256661dd
76 changed files with 5335 additions and 888 deletions
+41
View File
@@ -0,0 +1,41 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
class ViolationNotification extends Model
{
public $timestamps = false;
protected $fillable = [
'violation_id',
'student_id',
'channel',
'recipient',
'message',
'status',
'user_id',
'created_at',
];
protected $casts = [
'created_at' => 'datetime',
];
public function violation(): BelongsTo
{
return $this->belongsTo(Violation::class);
}
public function student(): BelongsTo
{
return $this->belongsTo(Student::class);
}
public function user(): BelongsTo
{
return $this->belongsTo(User::class);
}
}