Menu

## LessonPlan extends Model
in package
uses SoftDeletes

LessonPlan.php : 40

Class LessonPlan

Model for managing lesson plans created by teachers.

##### Tags

mixin

### Table of Contents

#### Properties

$assessment : string
$conclusion : string
$created_at : DateTime
$deleted_at : DateTime
$description : string
$duration : int
$id : int
$introduction : string
$lessonPlanApproval : LessonPlanApproval
$materials_required : string
$modification : string
$notes : string
$objective : string
$procedure : string
$status : int
$teacher_link_id : int
$teacherlink : Teacherlink
$title : string
$unit_name : string
$unit_no : int
$updated_at : DateTime
$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

lessonPlanApproval() : HasOne
  Get the lesson plan approval for this lesson plan.
searchableAs() : string
  Get the index name for the model.
teacherlink() : BelongsTo
  Get the teacher link associated with this lesson plan.
toSearchableArray() : array<string|int, mixed>
  Get the indexable data array for the model.

### Properties

#### $assessment

LessonPlan.php : 0
`public string $assessment`

#### $conclusion

LessonPlan.php : 0
`public string $conclusion`

#### $created_at

LessonPlan.php : 0
`public DateTime $created_at`

#### $deleted_at

LessonPlan.php : 0
`public DateTime $deleted_at`

#### $description

LessonPlan.php : 0
`public string $description`

#### $duration

LessonPlan.php : 0
`public int $duration`

#### $id

LessonPlan.php : 0
`public int $id`

#### $introduction

LessonPlan.php : 0
`public string $introduction`

#### $lessonPlanApproval read-only

LessonPlan.php : 0
`public LessonPlanApproval $lessonPlanApproval`

#### $materials_required

LessonPlan.php : 0
`public string $materials_required`

#### $modification

LessonPlan.php : 0
`public string $modification`

#### $notes

LessonPlan.php : 0
`public string $notes`

#### $objective

LessonPlan.php : 0
`public string $objective`

#### $procedure

LessonPlan.php : 0
`public string $procedure`

#### $status

LessonPlan.php : 0
`public int $status`

#### $teacher_link_id

LessonPlan.php : 0
`public int $teacher_link_id`

#### $teacherlink read-only

LessonPlan.php : 0
`public Teacherlink $teacherlink`

#### $title

LessonPlan.php : 0
`public string $title`

#### $unit_name

LessonPlan.php : 0
`public string $unit_name`

#### $unit_no

LessonPlan.php : 0
`public int $unit_no`

#### $updated_at

LessonPlan.php : 0
`public DateTime $updated_at`

#### $dates

LessonPlan.php : 67

The attributes that should be mutated to dates.

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

#### $fillable

LessonPlan.php : 58

The attributes that are mass assignable.

`protected array<string|int, mixed> $fillable = ['teacher_link_id', 'unit_no', 'unit_name', 'description', 'title', 'duration', 'objective', 'materials_required', 'introduction', 'procedure', 'conclusion', 'notes', 'assessment', 'modification', 'status']`

#### $table

LessonPlan.php : 51

The table associated with the model.

`protected string $table = 'lesson_plans'`

### Methods

#### lessonPlanApproval()

LessonPlan.php : 98

Get the lesson plan approval for this lesson plan.

`public lessonPlanApproval() : HasOne`

##### Return values

HasOne

#### searchableAs()

LessonPlan.php : 74

Get the index name for the model.

`public searchableAs() : string`

##### Return values

string

#### teacherlink()

LessonPlan.php : 108

Get the teacher link associated with this lesson plan.

`public teacherlink() : BelongsTo`

##### Return values

BelongsTo

#### toSearchableArray()

LessonPlan.php : 84

Get the indexable data array for the model.

`public toSearchableArray() : array<string|int, mixed>`

##### Return values

array<string|int, mixed>

## Search results