add class progress and fix endpoints

This commit is contained in:
root
2026-03-12 17:27:49 -04:00
parent 0f39dbee62
commit 33be0c9a0d
40 changed files with 2086 additions and 438 deletions
+3 -1
View File
@@ -3,9 +3,11 @@
namespace App\Models;
use App\Models\BaseModel;
use Illuminate\Database\Eloquent\Factories\HasFactory;
class ClassProgressAttachment extends BaseModel
{
use HasFactory;
protected $table = 'class_progress_attachments';
// CI: useTimestamps = false
@@ -31,4 +33,4 @@ class ClassProgressAttachment extends BaseModel
// replace ClassProgressReport::class with your actual report model if different
return $this->belongsTo(ClassProgressReport::class, 'report_id');
}
}
}