AttachmentData
extends Model
in package
Uses
HasFactory
Class AttachmentData.
Table of Contents
Constants
- ENTITY_TYPE = 'attachment_data'
Properties
- $attachment : Attachment
- $attachment_id : int
- $id : int
- $item_id : int
- $item_type : string
- $timestamps : mixed
- $fillable : array<string|int, string>
- $table : mixed
Methods
- attachment() : BelongsTo
- factory() : AttachmentDataFactory
Constants
ENTITY_TYPE
public
mixed
ENTITY_TYPE
= 'attachment_data'
Properties
$attachment
public
Attachment
$attachment
$attachment_id
public
int
$attachment_id
$id
public
int
$id
$item_id
public
int
$item_id
$item_type
public
string
$item_type
$timestamps
public
mixed
$timestamps
= false
$fillable
protected
array<string|int, string>
$fillable
= ['attachment_id', 'item_id', 'item_type']
$table
protected
mixed
$table
= 'activity_attachment_data'
Methods
attachment()
public
attachment() : BelongsTo
Return values
BelongsTofactory()
public
static factory([array<string, mixed> $parameters = [] ]) : AttachmentDataFactory
Parameters
- $parameters : array<string, mixed> = []