Menu

## StudentAcademic extends Model
in package
uses SoftDeletes, HasFactory

StudentAcademic.php : 52

Class StudentAcademic

Model for managing student academic information and records.

##### Tags

mixin

### Table of Contents

#### Properties

$academic_status : string
$academic_year_id : int
$academicYear : AcademicYear
$board_registration_number : string
$bus_pass : string
$created_at : DateTime
$deleted_at : DateTime
$food_allergies : string
$height : string
$id : int
$id_card_number : string
$markAcademic : Collection|array<string|int, Mark>
$markStandard : Collection|array<string|int, Mark>
$markUser : Collection|array<string|int, Mark>
$medication_allergies : string
$medication_needs : string
$medication_problems : string
$mode_of_transport : string
$other_allergies : string
$other_medical_information : string
$roll_number : string
$school : School
$school_id : int
$sibling_details : array<string|int, mixed>
$siblings : string
$siblings_count : int
$standardLink : StandardLink
$standardLink_id : int
$timetable : Collection|array<string|int, Timetable>
$transport_details : array<string|int, mixed>
$updated_at : DateTime
$user : User
$user_id : int
$weight : string
$casts : array<string|int, mixed>
  The attributes that should be cast.
$dates : array<string|int, mixed>
  The attributes that should be mutated to dates.
$fillable : array<string|int, mixed>
  The attributes that are mass assignable.
$table : string
  The table associated with the model.

#### Methods

academicYear() : BelongsTo
  Get the academic year for this record.
markAcademic() : HasMany
  Get marks for this academic year.
markStandard() : HasMany
  Get marks for this standard.
markUser() : HasMany
  Get marks for this student.
school() : BelongsTo
  Get the school for this student.
standardLink() : BelongsTo
  Get the standard/grade link for this student.
timetable() : HasMany
  Get timetable for this academic year.
user() : BelongsTo
  Get the student user.

### Properties

#### $academic_status

StudentAcademic.php : 0
`public string $academic_status`

#### $academic_year_id

StudentAcademic.php : 0
`public int $academic_year_id`

#### $academicYear read-only

StudentAcademic.php : 0
`public AcademicYear $academicYear`

#### $board_registration_number

StudentAcademic.php : 0
`public string $board_registration_number`

#### $bus_pass

StudentAcademic.php : 0
`public string $bus_pass`

#### $created_at

StudentAcademic.php : 0
`public DateTime $created_at`

#### $deleted_at

StudentAcademic.php : 0
`public DateTime $deleted_at`

#### $food_allergies

StudentAcademic.php : 0
`public string $food_allergies`

#### $height

StudentAcademic.php : 0
`public string $height`

#### $id

StudentAcademic.php : 0
`public int $id`

#### $id_card_number

StudentAcademic.php : 0
`public string $id_card_number`

#### $markAcademic read-only

StudentAcademic.php : 0
`public Collection|array<string|int, Mark> $markAcademic`

#### $markStandard read-only

StudentAcademic.php : 0
`public Collection|array<string|int, Mark> $markStandard`

#### $markUser read-only

StudentAcademic.php : 0
`public Collection|array<string|int, Mark> $markUser`

#### $medication_allergies

StudentAcademic.php : 0
`public string $medication_allergies`

#### $medication_needs

StudentAcademic.php : 0
`public string $medication_needs`

#### $medication_problems

StudentAcademic.php : 0
`public string $medication_problems`

#### $mode_of_transport

StudentAcademic.php : 0
`public string $mode_of_transport`

#### $other_allergies

StudentAcademic.php : 0
`public string $other_allergies`

#### $other_medical_information

StudentAcademic.php : 0
`public string $other_medical_information`

#### $roll_number

StudentAcademic.php : 0
`public string $roll_number`

#### $school read-only

StudentAcademic.php : 0
`public School $school`

#### $school_id

StudentAcademic.php : 0
`public int $school_id`

#### $sibling_details

StudentAcademic.php : 0
`public array<string|int, mixed> $sibling_details`

#### $siblings

StudentAcademic.php : 0
`public string $siblings`

#### $siblings_count

StudentAcademic.php : 0
`public int $siblings_count`

#### $standardLink read-only

StudentAcademic.php : 0
`public StandardLink $standardLink`

#### $standardLink_id

StudentAcademic.php : 0
`public int $standardLink_id`

#### $timetable read-only

StudentAcademic.php : 0
`public Collection|array<string|int, Timetable> $timetable`

#### $transport_details

StudentAcademic.php : 0
`public array<string|int, mixed> $transport_details`

#### $updated_at

StudentAcademic.php : 0
`public DateTime $updated_at`

#### $user read-only

StudentAcademic.php : 0
`public User $user`

#### $user_id

StudentAcademic.php : 0
`public int $user_id`

#### $weight

StudentAcademic.php : 0
`public string $weight`

#### $casts

StudentAcademic.php : 87

The attributes that should be cast.

`protected array<string|int, mixed> $casts = ['transport_details' => 'array', 'sibling_details' => 'array']`

#### $dates

StudentAcademic.php : 80

The attributes that should be mutated to dates.

`protected array<string|int, mixed> $dates = ['deleted_at']`

#### $fillable

StudentAcademic.php : 71

The attributes that are mass assignable.

`protected array<string|int, mixed> $fillable = ['school_id', 'academic_year_id', 'user_id', 'standardLink_id', 'roll_number', 'id_card_number', 'board_registration_number', 'mode_of_transport', 'transport_details', 'siblings', 'siblings_count', 'sibling_details', 'height', 'weight', 'medication_problems', 'medication_needs', 'medication_allergies', 'food_allergies', 'other_allergies', 'other_medical_information', 'academic_status', 'bus_pass']`

#### $table

StudentAcademic.php : 63

The table associated with the model.

`protected string $table = 'student_academics'`

### Methods

#### academicYear()

StudentAcademic.php : 106

Get the academic year for this record.

`public academicYear() : BelongsTo`

##### Return values

BelongsTo

#### markAcademic()

StudentAcademic.php : 156

Get marks for this academic year.

`public markAcademic() : HasMany`

##### Return values

HasMany

#### markStandard()

StudentAcademic.php : 146

Get marks for this standard.

`public markStandard() : HasMany`

##### Return values

HasMany

#### markUser()

StudentAcademic.php : 136

Get marks for this student.

`public markUser() : HasMany`

##### Return values

HasMany

#### school()

StudentAcademic.php : 96

Get the school for this student.

`public school() : BelongsTo`

##### Return values

BelongsTo

#### standardLink()

StudentAcademic.php : 126

Get the standard/grade link for this student.

`public standardLink() : BelongsTo`

##### Return values

BelongsTo

#### timetable()

StudentAcademic.php : 166

Get timetable for this academic year.

`public timetable() : HasMany`

##### Return values

HasMany

#### user()

StudentAcademic.php : 116

Get the student user.

`public user() : BelongsTo`

##### Return values

BelongsTo

## Search results