29 lines
610 B
PHP
29 lines
610 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class GradingLock extends Model
|
|
{
|
|
protected $table = 'grading_locks';
|
|
protected $fillable = [
|
|
'class_section_id',
|
|
'semester',
|
|
'school_year',
|
|
'is_locked',
|
|
'locked_by',
|
|
'locked_at',
|
|
'created_at',
|
|
'updated_at',
|
|
];
|
|
public $timestamps = true;
|
|
|
|
/**
|
|
* TODO: Manual port review required for custom CI query methods from GradingLock.
|
|
* - getLock()
|
|
* - isLocked()
|
|
*
|
|
* This automated conversion preserves schema metadata only.
|
|
*/
|
|
} |