Menu

## ParentProfile extends Model
in package
uses SoftDeletes, HasFactory

ParentProfile.php : 36

Class ParentProfile

Model for managing parent user profile details.

##### Tags

mixin

### Table of Contents

#### Properties

$annual_income : float|null
$created_at : DateTime
$deleted_at : DateTime
$designation : string|null
$id : int
$official_address : string|null
$organization_name : string|null
$profession : string|null
$qualification : Qualification
$qualification_id : int|null
$relation : string|null
$school : School
$school_id : int
$sub_occupation : string|null
$updated_at : DateTime
$user : User
$user_id : int
$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

qualification() : BelongsTo
  Get the qualification for this parent.
school() : BelongsTo
  Get the school for this parent profile.
user() : BelongsTo
  Get the user for this parent profile.

### Properties

#### $annual_income

ParentProfile.php : 0
`public float|null $annual_income`

#### $created_at

ParentProfile.php : 0
`public DateTime $created_at`

#### $deleted_at

ParentProfile.php : 0
`public DateTime $deleted_at`

#### $designation

ParentProfile.php : 0
`public string|null $designation`

#### $id

ParentProfile.php : 0
`public int $id`

#### $official_address

ParentProfile.php : 0
`public string|null $official_address`

#### $organization_name

ParentProfile.php : 0
`public string|null $organization_name`

#### $profession

ParentProfile.php : 0
`public string|null $profession`

#### $qualification read-only

ParentProfile.php : 0
`public Qualification $qualification`

#### $qualification_id

ParentProfile.php : 0
`public int|null $qualification_id`

#### $relation

ParentProfile.php : 0
`public string|null $relation`

#### $school read-only

ParentProfile.php : 0
`public School $school`

#### $school_id

ParentProfile.php : 0
`public int $school_id`

#### $sub_occupation

ParentProfile.php : 0
`public string|null $sub_occupation`

#### $updated_at

ParentProfile.php : 0
`public DateTime $updated_at`

#### $user read-only

ParentProfile.php : 0
`public User $user`

#### $user_id

ParentProfile.php : 0
`public int $user_id`

#### $dates

ParentProfile.php : 54

The attributes that should be mutated to dates.

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

#### $fillable

ParentProfile.php : 61

The attributes that are mass assignable.

`protected array<string|int, mixed> $fillable = ['school_id', 'user_id', 'qualification_id', 'profession', 'sub_occupation', 'designation', 'organization_name', 'official_address', 'relation', 'annual_income']`

#### $table

ParentProfile.php : 47

The table associated with the model.

`protected string $table = 'parent_profiles'`

### Methods

#### qualification()

ParentProfile.php : 90

Get the qualification for this parent.

`public qualification() : BelongsTo`

##### Return values

BelongsTo

#### school()

ParentProfile.php : 70

Get the school for this parent profile.

`public school() : BelongsTo`

##### Return values

BelongsTo

#### user()

ParentProfile.php : 80

Get the user for this parent profile.

`public user() : BelongsTo`

##### Return values

BelongsTo

## Search results