Menu

## Notes extends Model
in package

Notes.php : 25

Class Notes

Model for managing notes and comments on entities.

##### Tags

mixin

### Table of Contents

#### Properties

$created_at : DateTime
$entity_id : int
$entity_name : string
$event : Events
$id : int
$notes : string
$updated_at : DateTime
$user : User
$user_id : int
$table : mixed

#### Methods

event() : BelongsTo
  Get the event this note is attached to.
user() : BelongsTo
  Get the user who created this note.

### Properties

#### $created_at

Notes.php : 0
`public DateTime $created_at`

#### $entity_id

Notes.php : 0
`public int $entity_id`

#### $entity_name

Notes.php : 0
`public string $entity_name`

#### $event read-only

Notes.php : 0
`public Events $event`

#### $id

Notes.php : 0
`public int $id`

#### $notes

Notes.php : 0
`public string $notes`

#### $updated_at

Notes.php : 0
`public DateTime $updated_at`

#### $user read-only

Notes.php : 0
`public User $user`

#### $user_id

Notes.php : 0
`public int $user_id`

#### $table

Notes.php : 27
`protected mixed $table = 'notes'`

### Methods

#### event()

Notes.php : 44

Get the event this note is attached to.

`public event() : BelongsTo`

##### Return values

BelongsTo

#### user()

Notes.php : 34

Get the user who created this note.

`public user() : BelongsTo`

##### Return values

BelongsTo

## Search results