|StudentHistory newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|StudentHistory newQuery() * @method static \Illuminate\Database\Eloquent\Builder|StudentHistory query() * @method static \Illuminate\Database\Eloquent\Builder|StudentHistory whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|StudentHistory whereDeletedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|StudentHistory whereDescription($value) * @method static \Illuminate\Database\Eloquent\Builder|StudentHistory whereEventType($value) * @method static \Illuminate\Database\Eloquent\Builder|StudentHistory whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|StudentHistory whereStudentId($value) * @method static \Illuminate\Database\Eloquent\Builder|StudentHistory whereUpdatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|StudentHistory whereUserId($value) * @mixin \Eloquent */ class StudentHistory extends Model { use HasFactory; protected $table = 'student_histories'; protected $guarded = [ 'id', // Add more fields that shouldn't be edited here ]; protected $casts = [ 'created_at' => 'datetime', 'updated_at' => 'datetime', // Add your casts here (e.g., 'is_active' => 'boolean') ]; // Relationships // Business Logic Methods // Custom Finders // Query Scopes }