Menu

## AbsentReason extends Model
in package
uses SoftDeletes

AbsentReason.php : 29

### Table of Contents

#### Properties

$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

attendance() : BelongsTo
  Get the attendance records for this reason.
teacherLeaveApplication() : HasMany
  Get the teacher leave applications for this reason.

### Properties

#### $dates

AbsentReason.php : 55

The attributes that should be mutated to dates.

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

#### $fillable

AbsentReason.php : 46

The attributes that are mass assignable.

`protected array<string|int, mixed> $fillable = ['title', 'status']`

#### $table

AbsentReason.php : 39

The table associated with the model.

`protected string $table = 'absent_reasons'`

### Methods

#### attendance()

AbsentReason.php : 62

Get the attendance records for this reason.

`public attendance() : BelongsTo`

##### Return values

BelongsTo

#### teacherLeaveApplication()

AbsentReason.php : 72

Get the teacher leave applications for this reason.

`public teacherLeaveApplication() : HasMany`

##### Return values

HasMany

## Search results